#[repr(transparent)]pub struct TocRef(_);
Implementations
sourceimpl TocRef
impl TocRef
pub unsafe fn as_ptr(&self) -> *const GstToc
pub unsafe 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
Trait Implementations
sourceimpl<'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.
sourceunsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a Value
. Read more
sourceimpl StaticType for TocRef
impl StaticType for TocRef
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
sourceimpl ToOwned for TocRef
impl ToOwned for TocRef
sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl Send for TocRef
impl Sync for TocRef
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.