pub struct SampleRef(_);
Implementations
sourceimpl SampleRef
impl SampleRef
pub fn get_buffer(&self) -> Option<Buffer>
pub fn get_buffer_list(&self) -> Option<BufferList>
pub fn get_caps(&self) -> Option<Caps>
pub fn get_segment(&self) -> Option<Segment>
pub fn get_info(&self) -> Option<&StructureRef>
Trait Implementations
sourceimpl MiniObject for SampleRef
impl MiniObject for SampleRef
type GstType = GstSample
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
sourceimpl StaticType for SampleRef
impl StaticType for SampleRef
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.sourceimpl ToOwned for SampleRef
impl ToOwned for SampleRef
impl Send for SampleRef
impl Sync for SampleRef
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more