#[repr(transparent)]pub struct Toc { /* private fields */ }
Implementations§
source§impl Toc
impl Toc
pub unsafe fn from_glib_none(ptr: *const GstToc) -> Self
pub unsafe fn from_glib_full(ptr: *const GstToc) -> Self
pub unsafe fn from_glib_borrow(ptr: *const GstToc) -> Borrowed<Self>
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstToc)
pub fn make_mut(&mut self) -> &mut TocRef
pub fn get_mut(&mut self) -> Option<&mut TocRef>
pub fn is_writable(&self) -> bool
pub fn upcast(self) -> MiniObject
Methods from Deref<Target = TocRef>§
pub fn as_ptr(&self) -> *const GstToc
pub fn as_mut_ptr(&self) -> *mut GstToc
pub fn copy(&self) -> Toc
pub fn upcast_ref(&self) -> &MiniObjectRef
Trait Implementations§
source§impl<'de> Deserialize<'de> for Toc
impl<'de> Deserialize<'de> for Toc
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> FromValue<'a> for &'a Toc
impl<'a> FromValue<'a> for &'a Toc
§type Checker = GenericValueTypeOrNoneChecker<&'a Toc>
type Checker = GenericValueTypeOrNoneChecker<&'a Toc>
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<'a> FromValue<'a> for Toc
impl<'a> FromValue<'a> for Toc
§type Checker = GenericValueTypeOrNoneChecker<Toc>
type Checker = GenericValueTypeOrNoneChecker<Toc>
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 IntoGlibPtr<*mut GstToc> for Toc
impl IntoGlibPtr<*mut GstToc> for Toc
source§unsafe fn into_glib_ptr(self) -> *mut GstToc
unsafe fn into_glib_ptr(self) -> *mut GstToc
Transfer: full.
source§impl StaticType for Toc
impl StaticType for Toc
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstToc> for Toc
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstToc> for Toc
type Storage = (Vec<Stash<'a, *mut GstToc, Toc>, Global>, Option<Vec<*mut GstToc, Global>>)
fn to_glib_none_from_slice(t: &'a [Toc]) -> (*const *mut GstToc, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [Toc]
) -> (*const *mut GstToc, Self::Storage)
fn to_glib_full_from_slice(_: &[Toc]) -> *const *mut GstToc
source§impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstToc> for Toc
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstToc> for Toc
type Storage = (Vec<Stash<'a, *mut GstToc, Toc>, Global>, Option<Vec<*mut GstToc, Global>>)
fn to_glib_none_from_slice(t: &'a [Toc]) -> (*mut *mut GstToc, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [Toc]
) -> (*mut *mut GstToc, Self::Storage)
fn to_glib_full_from_slice(t: &[Toc]) -> *mut *mut GstToc
source§impl ToValueOptional for Toc
impl ToValueOptional for Toc
impl Send for Toc
impl Sync for Toc
impl ValueTypeOptional for Toc
Auto Trait Implementations§
Blanket Implementations§
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.
source§impl<T> ToClosureReturnValue for Twhere
T: ToValue,
impl<T> ToClosureReturnValue for Twhere
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.