[−][src]Struct gstreamer::sample::SampleRef
Implementations
impl SampleRef
[src]
pub unsafe fn as_ptr(&self) -> *const GstSample
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstSample
[src]
pub unsafe fn from_ptr<'a>(ptr: *const GstSample) -> &'a Self
[src]
pub unsafe fn from_mut_ptr<'a>(ptr: *mut GstSample) -> &'a mut Self
[src]
pub fn copy(&self) -> Sample
[src]
impl SampleRef
[src]
pub fn get_buffer(&self) -> Option<&BufferRef>
[src]
pub fn get_buffer_owned(&self) -> Option<Buffer>
[src]
pub fn get_buffer_list(&self) -> Option<&BufferListRef>
[src]
pub fn get_buffer_list_owned(&self) -> Option<BufferList>
[src]
pub fn get_caps(&self) -> Option<&CapsRef>
[src]
pub fn get_caps_owned(&self) -> Option<Caps>
[src]
pub fn get_segment(&self) -> Option<Segment>
[src]
pub fn get_info(&self) -> Option<&StructureRef>
[src]
pub fn set_buffer(&mut self, buffer: Option<&Buffer>)
[src]
pub fn set_buffer_list(&mut self, buffer_list: Option<&BufferList>)
[src]
pub fn set_caps(&mut self, caps: Option<&Caps>)
[src]
pub fn set_segment(&mut self, segment: Option<&Segment>)
[src]
pub fn set_info(&mut self, info: Option<Structure>)
[src]
Trait Implementations
impl AsRef<SampleRef> for Sample
[src]
impl Borrow<SampleRef> for Sample
[src]
impl Debug for SampleRef
[src]
impl<'a> FromValueOptional<'a> for &'a SampleRef
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
impl GlibPtrDefault for SampleRef
[src]
impl Send for SampleRef
[src]
impl<'a> Serialize for SampleRef
[src]
impl StaticType for SampleRef
[src]
fn static_type() -> Type
[src]
impl Sync for SampleRef
[src]
impl ToOwned for SampleRef
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,