[−][src]Struct gstreamer::miniobject::GstRc
Methods
impl<T: MiniObject> GstRc<T>
[src]
pub unsafe fn from_glib_none(ptr: *const T::GstType) -> Self
[src]
pub unsafe fn from_glib_full(ptr: *const T::GstType) -> Self
[src]
pub unsafe fn from_glib_borrow(ptr: *const T::GstType) -> Self
[src]
pub fn make_mut(&mut self) -> &mut T
[src]
pub fn get_mut(&mut self) -> Option<&mut T>
[src]
pub fn is_writable(&self) -> bool
[src]
pub unsafe fn into_ptr(self) -> *mut T::GstType
[src]
pub fn add_parent<U: MiniObject>(&self, parent: &U)
[src]
pub fn remove_parent<U: MiniObject>(&self, parent: &U)
[src]
Trait Implementations
impl<T: MiniObject> AsRef<T> for GstRc<T>
[src]
impl<T: MiniObject> Borrow<T> for GstRc<T>
[src]
impl<T: MiniObject> Clone for GstRc<T>
[src]
impl<T: MiniObject + Debug> Debug for GstRc<T>
[src]
impl<T: MiniObject> Deref for GstRc<T>
[src]
impl<T: MiniObject + Display> Display for GstRc<T>
[src]
impl<T: MiniObject> Drop for GstRc<T>
[src]
impl<T: MiniObject + Eq> Eq for GstRc<T>
[src]
impl From<GstRc<BufferListRef>> for BufferList
[src]
fn from(rc: GstRc<BufferListRef>) -> BufferList
[src]
impl From<GstRc<BufferRef>> for Buffer
[src]
impl From<GstRc<CapsRef>> for Caps
[src]
impl From<GstRc<ContextRef>> for Context
[src]
fn from(rc: GstRc<ContextRef>) -> Context
[src]
impl From<GstRc<EventRef>> for Event
[src]
impl From<GstRc<MemoryRef>> for Memory
[src]
impl From<GstRc<MessageRef>> for Message
[src]
fn from(rc: GstRc<MessageRef>) -> Message
[src]
impl From<GstRc<QueryRef>> for Query
[src]
impl From<GstRc<SampleRef>> for Sample
[src]
impl From<GstRc<TagListRef>> for TagList
[src]
fn from(rc: GstRc<TagListRef>) -> TagList
[src]
impl From<GstRc<TocEntryRef>> for TocEntry
[src]
fn from(rc: GstRc<TocEntryRef>) -> TocEntry
[src]
impl From<GstRc<TocRef>> for Toc
[src]
impl<T: MiniObject + 'static> FromGlibContainerAsVec<*mut <T as MiniObject>::GstType, *const *mut <T as MiniObject>::GstType> for GstRc<T>
[src]
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut T::GstType,
num: usize
) -> Vec<Self>
[src]
ptr: *const *mut T::GstType,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
_: *const *mut T::GstType,
_: usize
) -> Vec<Self>
[src]
_: *const *mut T::GstType,
_: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
_: *const *mut T::GstType,
_: usize
) -> Vec<Self>
[src]
_: *const *mut T::GstType,
_: usize
) -> Vec<Self>
impl<T: MiniObject + 'static> FromGlibContainerAsVec<*mut <T as MiniObject>::GstType, *mut *mut <T as MiniObject>::GstType> for GstRc<T>
[src]
unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut T::GstType,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut T::GstType,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut T::GstType,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut T::GstType,
num: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut T::GstType,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut T::GstType,
num: usize
) -> Vec<Self>
impl<T: MiniObject + 'static> FromGlibPtrArrayContainerAsVec<*mut <T as MiniObject>::GstType, *const *mut <T as MiniObject>::GstType> for GstRc<T>
[src]
unsafe fn from_glib_none_as_vec(ptr: *const *mut T::GstType) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(_: *const *mut T::GstType) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(_: *const *mut T::GstType) -> Vec<Self>
[src]
impl<T: MiniObject + 'static> FromGlibPtrArrayContainerAsVec<*mut <T as MiniObject>::GstType, *mut *mut <T as MiniObject>::GstType> for GstRc<T>
[src]
unsafe fn from_glib_none_as_vec(ptr: *mut *mut T::GstType) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(ptr: *mut *mut T::GstType) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(ptr: *mut *mut T::GstType) -> Vec<Self>
[src]
impl<T: MiniObject + 'static> FromGlibPtrBorrow<*const <T as MiniObject>::GstType> for GstRc<T>
[src]
unsafe fn from_glib_borrow(ptr: *const T::GstType) -> Self
[src]
impl<T: MiniObject + 'static> FromGlibPtrBorrow<*mut <T as MiniObject>::GstType> for GstRc<T>
[src]
unsafe fn from_glib_borrow(ptr: *mut T::GstType) -> Self
[src]
impl<T: MiniObject + 'static> FromGlibPtrFull<*const <T as MiniObject>::GstType> for GstRc<T>
[src]
unsafe fn from_glib_full(ptr: *const T::GstType) -> Self
[src]
impl<T: MiniObject + 'static> FromGlibPtrFull<*mut <T as MiniObject>::GstType> for GstRc<T>
[src]
unsafe fn from_glib_full(ptr: *mut T::GstType) -> Self
[src]
impl<T: MiniObject + 'static> FromGlibPtrNone<*const <T as MiniObject>::GstType> for GstRc<T>
[src]
unsafe fn from_glib_none(ptr: *const T::GstType) -> Self
[src]
impl<T: MiniObject + 'static> FromGlibPtrNone<*mut <T as MiniObject>::GstType> for GstRc<T>
[src]
unsafe fn from_glib_none(ptr: *mut T::GstType) -> Self
[src]
impl<'a, T: MiniObject + StaticType + 'static> FromValueOptional<'a> for GstRc<T>
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
impl<T: MiniObject + 'static> GlibPtrDefault for GstRc<T>
[src]
impl Into<GstRc<BufferListRef>> for BufferList
[src]
fn into(self) -> GstRc<BufferListRef>
[src]
impl Into<GstRc<BufferRef>> for Buffer
[src]
impl Into<GstRc<CapsRef>> for Caps
[src]
impl Into<GstRc<ContextRef>> for Context
[src]
fn into(self) -> GstRc<ContextRef>
[src]
impl Into<GstRc<EventRef>> for Event
[src]
impl Into<GstRc<MemoryRef>> for Memory
[src]
impl Into<GstRc<MessageRef>> for Message
[src]
fn into(self) -> GstRc<MessageRef>
[src]
impl Into<GstRc<QueryRef>> for Query
[src]
impl Into<GstRc<SampleRef>> for Sample
[src]
impl Into<GstRc<TagListRef>> for TagList
[src]
fn into(self) -> GstRc<TagListRef>
[src]
impl Into<GstRc<TocEntryRef>> for TocEntry
[src]
fn into(self) -> GstRc<TocEntryRef>
[src]
impl Into<GstRc<TocRef>> for Toc
[src]
impl<T: MiniObject + PartialEq> PartialEq<GstRc<T>> for GstRc<T>
[src]
impl<T: MiniObject + Sync + Send> Send for GstRc<T>
[src]
impl<T: MiniObject + StaticType> SetValue for GstRc<T>
[src]
impl<T: MiniObject + StaticType> SetValueOptional for GstRc<T>
[src]
unsafe fn set_value_optional(v: &mut Value, s: Option<&Self>)
[src]
impl<T: MiniObject + StaticType> StaticType for GstRc<T>
[src]
fn static_type() -> Type
[src]
impl<T: MiniObject + Sync + Send> Sync for GstRc<T>
[src]
impl<'a, T: MiniObject + 'static> ToGlibContainerFromSlice<'a, *const *mut <T as MiniObject>::GstType> for GstRc<T>
[src]
type Storage = (Vec<Stash<'a, *mut T::GstType, GstRc<T>>>, Option<Vec<*mut T::GstType>>)
fn to_glib_none_from_slice(
t: &'a [GstRc<T>]
) -> (*const *mut T::GstType, Self::Storage)
[src]
t: &'a [GstRc<T>]
) -> (*const *mut T::GstType, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [GstRc<T>]
) -> (*const *mut T::GstType, Self::Storage)
[src]
_: &'a [GstRc<T>]
) -> (*const *mut T::GstType, Self::Storage)
fn to_glib_full_from_slice(_: &[GstRc<T>]) -> *const *mut T::GstType
[src]
impl<'a, T: MiniObject + 'static> ToGlibContainerFromSlice<'a, *mut *mut <T as MiniObject>::GstType> for GstRc<T>
[src]
type Storage = (Vec<Stash<'a, *mut T::GstType, GstRc<T>>>, Option<Vec<*mut T::GstType>>)
fn to_glib_none_from_slice(
t: &'a [GstRc<T>]
) -> (*mut *mut T::GstType, Self::Storage)
[src]
t: &'a [GstRc<T>]
) -> (*mut *mut T::GstType, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [GstRc<T>]
) -> (*mut *mut T::GstType, Self::Storage)
[src]
t: &'a [GstRc<T>]
) -> (*mut *mut T::GstType, Self::Storage)
fn to_glib_full_from_slice(t: &[GstRc<T>]) -> *mut *mut T::GstType
[src]
impl<'a, T: MiniObject + 'static> ToGlibPtr<'a, *const <T as MiniObject>::GstType> for GstRc<T>
[src]
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const T::GstType, Self>
[src]
fn to_glib_full(&self) -> *const T::GstType
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
impl<'a, T: MiniObject + 'static> ToGlibPtr<'a, *mut <T as MiniObject>::GstType> for GstRc<T>
[src]
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *mut T::GstType, Self>
[src]
fn to_glib_full(&self) -> *mut T::GstType
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
impl<'a, T: MiniObject + 'static> ToGlibPtrMut<'a, *mut <T as MiniObject>::GstType> for GstRc<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for GstRc<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Unpin for GstRc<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for GstRc<T> where
T: RefUnwindSafe + UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GList
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
[src]
t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
[src]
_t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GPtrArray
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GArray
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GList
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GPtrArray
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,