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