Struct gstreamer::sample::SampleRef
[−]
[src]
pub struct SampleRef(_);
Methods
impl SampleRef
[src]
fn get_buffer(&self) -> Option<Buffer>
[src]
fn get_buffer_list(&self) -> Option<BufferList>
[src]
fn get_caps(&self) -> Option<Caps>
[src]
fn get_segment(&self) -> Option<Segment>
[src]
fn get_structure(&self) -> Option<&StructureRef>
[src]
Trait Implementations
impl MiniObject for SampleRef
[src]
type GstType = GstSample
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
impl StaticType for SampleRef
[src]
fn static_type() -> Type
[src]
Returns the type identifier of Self
.
impl ToOwned for SampleRef
[src]
type Owned = GstRc<SampleRef>
fn to_owned(&self) -> GstRc<SampleRef>
[src]
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)
[src]
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more