Struct gstreamer::sample::SampleRef [−][src]
#[repr(transparent)]pub struct SampleRef(_);
Implementations
impl SampleRef[src]
impl SampleRef[src]impl SampleRef[src]
impl SampleRef[src]pub fn buffer(&self) -> Option<&BufferRef>[src]
pub fn buffer_owned(&self) -> Option<Buffer>[src]
pub fn buffer_list(&self) -> Option<&BufferListRef>[src]
pub fn buffer_list_owned(&self) -> Option<BufferList>[src]
pub fn caps(&self) -> Option<&CapsRef>[src]
pub fn caps_owned(&self) -> Option<Caps>[src]
pub fn segment(&self) -> Option<Segment>[src]
pub fn info(&self) -> Option<&StructureRef>[src]
pub fn set_buffer(&mut self, buffer: Option<&Buffer>)[src]
This is supported on crate feature
v1_16 only.pub fn set_buffer_list(&mut self, buffer_list: Option<&BufferList>)[src]
This is supported on crate feature
v1_16 only.pub fn set_caps(&mut self, caps: Option<&Caps>)[src]
This is supported on crate feature
v1_16 only.pub fn set_segment(&mut self, segment: Option<&Segment>)[src]
This is supported on crate feature
v1_16 only.pub fn set_info(&mut self, info: Option<Structure>)[src]
This is supported on crate feature
v1_16 only.Trait Implementations
impl<'a> FromValue<'a> for &'a SampleRef[src]
impl<'a> FromValue<'a> for &'a SampleRef[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>Value type checker.
unsafe fn from_value(value: &'a Value) -> Self[src]
unsafe fn from_value(value: &'a Value) -> Self[src]Get the contained value from a Value. Read more
impl GlibPtrDefault for SampleRef[src]
impl GlibPtrDefault for SampleRef[src]impl StaticType for SampleRef[src]
impl StaticType for SampleRef[src]fn static_type() -> Type[src]
fn static_type() -> Type[src]Returns the type identifier of Self.
impl ToOwned for SampleRef[src]
impl ToOwned for SampleRef[src]fn to_owned(&self) -> Sample[src]
fn to_owned(&self) -> Sample[src]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)[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