pub struct TocRef(/* private fields */);
Implementations§
source§impl TocRef
impl TocRef
pub fn as_ptr(&self) -> *const GstToc
pub fn as_mut_ptr(&self) -> *mut GstToc
pub unsafe fn from_ptr<'a>(ptr: *const GstToc) -> &'a Self
pub unsafe fn from_mut_ptr<'a>(ptr: *mut GstToc) -> &'a mut Self
pub fn copy(&self) -> Toc
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_mut(&mut self) -> &mut MiniObjectRef
pub fn ptr_eq(this: &TocRef, other: &TocRef) -> bool
Trait Implementations§
source§impl<'a> FromValue<'a> for &'a TocRef
impl<'a> FromValue<'a> for &'a TocRef
§type Checker = GenericValueTypeOrNoneChecker<&'a TocRef>
type Checker = GenericValueTypeOrNoneChecker<&'a TocRef>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl StaticType for TocRef
impl StaticType for TocRef
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Send for TocRef
impl Sync for TocRef
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.