Struct gst::Sample[][src]

pub struct Sample { /* fields omitted */ }

Methods

impl Sample
[src]

Get the buffer associated with sample or None when there is no buffer.

Get the caps associated with sample or None when there's no caps

Get the segment associated with sample

Get a video frame from this sample if it contains one

Trait Implementations

impl Send for Sample
[src]

impl Clone for Sample
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Transfer<GstSample> for Sample
[src]

Consumes the current object and transfers ownership of the raw pointer Used to transfer ownership to ffi functions, should be used when an ffi function expects full transfer of an object to avoid the original object to be unreferenced in the process Read more

impl Reference for Sample
[src]

Auto Trait Implementations

impl !Sync for Sample