#[repr(transparent)]pub struct Toc { /* private fields */ }
Implementations
sourceimpl 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
pub unsafe fn into_ptr(self) -> *mut GstToc
Methods from Deref<Target = TocRef>
pub unsafe fn as_ptr(&self) -> *const GstToc
pub unsafe fn as_mut_ptr(&self) -> *mut GstToc
pub fn copy(&self) -> Toc
pub fn upcast_ref(&self) -> &MiniObjectRef
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Toc
impl<'de> Deserialize<'de> for Toc
sourcefn 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
sourceimpl FromGlibContainerAsVec<*mut GstToc, *const *mut GstToc> for Toc
impl FromGlibContainerAsVec<*mut GstToc, *const *mut GstToc> for Toc
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstToc,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstToc,
_: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstToc,
_: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibContainerAsVec<*mut GstToc, *mut *mut GstToc> for Toc
impl FromGlibContainerAsVec<*mut GstToc, *mut *mut GstToc> for Toc
unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstToc,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstToc,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstToc,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibPtrArrayContainerAsVec<*mut GstToc, *const *mut GstToc> for Toc
impl FromGlibPtrArrayContainerAsVec<*mut GstToc, *const *mut GstToc> for Toc
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstToc) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_as_vec(_: *const *mut GstToc) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_as_vec(_: *const *mut GstToc) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibPtrArrayContainerAsVec<*mut GstToc, *mut *mut GstToc> for Toc
impl FromGlibPtrArrayContainerAsVec<*mut GstToc, *mut *mut GstToc> for Toc
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstToc) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstToc) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstToc) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibPtrBorrow<*const GstToc> for Toc
impl FromGlibPtrBorrow<*const GstToc> for Toc
sourceimpl FromGlibPtrBorrow<*mut GstToc> for Toc
impl FromGlibPtrBorrow<*mut GstToc> for Toc
sourceimpl FromGlibPtrFull<*const GstToc> for Toc
impl FromGlibPtrFull<*const GstToc> for Toc
sourceunsafe fn from_glib_full(ptr: *const GstToc) -> Self
unsafe fn from_glib_full(ptr: *const GstToc) -> Self
Safety Read more
sourceimpl FromGlibPtrFull<*mut GstToc> for Toc
impl FromGlibPtrFull<*mut GstToc> for Toc
sourceunsafe fn from_glib_full(ptr: *mut GstToc) -> Self
unsafe fn from_glib_full(ptr: *mut GstToc) -> Self
Safety Read more
sourceimpl FromGlibPtrNone<*const GstToc> for Toc
impl FromGlibPtrNone<*const GstToc> for Toc
sourceunsafe fn from_glib_none(ptr: *const GstToc) -> Self
unsafe fn from_glib_none(ptr: *const GstToc) -> Self
Safety Read more
sourceimpl FromGlibPtrNone<*mut GstToc> for Toc
impl FromGlibPtrNone<*mut GstToc> for Toc
sourceunsafe fn from_glib_none(ptr: *mut GstToc) -> Self
unsafe fn from_glib_none(ptr: *mut GstToc) -> Self
Safety Read more
sourceimpl<'a> FromValue<'a> for Toc
impl<'a> FromValue<'a> for Toc
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
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<'a> FromValue<'a> for &'a Toc
impl<'a> FromValue<'a> for &'a Toc
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
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 Toc
impl StaticType for Toc
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
sourceimpl<'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>>, Option<Vec<*mut GstToc>>)
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
sourceimpl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstToc> for Toc
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstToc> for Toc
type Storage = (Vec<Stash<'a, *mut GstToc, Self>>, Option<Vec<*mut GstToc>>)
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
sourceimpl<'a> ToGlibPtrMut<'a, *mut GstToc> for Toc
impl<'a> ToGlibPtrMut<'a, *mut GstToc> for Toc
sourceimpl ToValueOptional for Toc
impl ToValueOptional for Toc
sourcefn to_value_optional(s: Option<&Self>) -> Value
fn to_value_optional(s: Option<&Self>) -> Value
Convert an Option
to a Value
.
impl Send for Toc
impl Sync for Toc
impl ValueTypeOptional for Toc
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.
sourceimpl<T> ToClosureReturnValue for T where
T: ToValue,
impl<T> ToClosureReturnValue for T where
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a SendValue
clone of self
.