pub struct Message { /* private fields */ }
Implementations§
source§impl Message
impl Message
pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GstMessage) -> &Self
pub unsafe fn from_glib_none(ptr: *const GstMessage) -> Self
pub unsafe fn from_glib_full(ptr: *const GstMessage) -> Self
pub unsafe fn from_glib_borrow(ptr: *const GstMessage) -> Borrowed<Self>
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstMessage)
pub fn make_mut(&mut self) -> &mut MessageRef
pub fn get_mut(&mut self) -> Option<&mut MessageRef>
pub fn is_writable(&self) -> bool
pub fn upcast(self) -> MiniObject
Methods from Deref<Target = MessageRef>§
pub fn as_ptr(&self) -> *const GstMessage
pub fn as_mut_ptr(&self) -> *mut GstMessage
pub fn copy(&self) -> Message
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn src(&self) -> Option<&Object>
pub fn seqnum(&self) -> Seqnum
pub fn structure(&self) -> Option<&StructureRef>
pub fn details(&self) -> Option<&StructureRef>
pub fn has_name(&self, name: &str) -> bool
pub fn view(&self) -> MessageView<'_>
pub fn type_(&self) -> MessageType
Trait Implementations§
source§impl AsRef<MessageRef> for Message
impl AsRef<MessageRef> for Message
source§fn as_ref(&self) -> &MessageRef
fn as_ref(&self) -> &MessageRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<MessageRef> for Message
impl Borrow<MessageRef> for Message
source§fn borrow(&self) -> &MessageRef
fn borrow(&self) -> &MessageRef
Immutably borrows from an owned value. Read more
source§impl From<Application<Message>> for Message
impl From<Application<Message>> for Message
source§fn from(concrete: Application<Message>) -> Self
fn from(concrete: Application<Message>) -> Self
Converts to this type from the input type.
source§impl From<AsyncStart<Message>> for Message
impl From<AsyncStart<Message>> for Message
source§fn from(concrete: AsyncStart<Message>) -> Self
fn from(concrete: AsyncStart<Message>) -> Self
Converts to this type from the input type.
source§impl From<ClockProvide<Message>> for Message
impl From<ClockProvide<Message>> for Message
source§fn from(concrete: ClockProvide<Message>) -> Self
fn from(concrete: ClockProvide<Message>) -> Self
Converts to this type from the input type.
source§impl From<DeviceAdded<Message>> for Message
impl From<DeviceAdded<Message>> for Message
source§fn from(concrete: DeviceAdded<Message>) -> Self
fn from(concrete: DeviceAdded<Message>) -> Self
Converts to this type from the input type.
source§impl From<DeviceChanged<Message>> for Message
impl From<DeviceChanged<Message>> for Message
source§fn from(concrete: DeviceChanged<Message>) -> Self
fn from(concrete: DeviceChanged<Message>) -> Self
Converts to this type from the input type.
source§impl From<DeviceRemoved<Message>> for Message
impl From<DeviceRemoved<Message>> for Message
source§fn from(concrete: DeviceRemoved<Message>) -> Self
fn from(concrete: DeviceRemoved<Message>) -> Self
Converts to this type from the input type.
source§impl From<DurationChanged<Message>> for Message
impl From<DurationChanged<Message>> for Message
source§fn from(concrete: DurationChanged<Message>) -> Self
fn from(concrete: DurationChanged<Message>) -> Self
Converts to this type from the input type.
source§impl From<HaveContext<Message>> for Message
impl From<HaveContext<Message>> for Message
source§fn from(concrete: HaveContext<Message>) -> Self
fn from(concrete: HaveContext<Message>) -> Self
Converts to this type from the input type.
source§impl From<InstantRateRequest<Message>> for Message
impl From<InstantRateRequest<Message>> for Message
source§fn from(concrete: InstantRateRequest<Message>) -> Self
fn from(concrete: InstantRateRequest<Message>) -> Self
Converts to this type from the input type.
source§impl From<NeedContext<Message>> for Message
impl From<NeedContext<Message>> for Message
source§fn from(concrete: NeedContext<Message>) -> Self
fn from(concrete: NeedContext<Message>) -> Self
Converts to this type from the input type.
source§impl From<PropertyNotify<Message>> for Message
impl From<PropertyNotify<Message>> for Message
source§fn from(concrete: PropertyNotify<Message>) -> Self
fn from(concrete: PropertyNotify<Message>) -> Self
Converts to this type from the input type.
source§impl From<RequestState<Message>> for Message
impl From<RequestState<Message>> for Message
source§fn from(concrete: RequestState<Message>) -> Self
fn from(concrete: RequestState<Message>) -> Self
Converts to this type from the input type.
source§impl From<SegmentDone<Message>> for Message
impl From<SegmentDone<Message>> for Message
source§fn from(concrete: SegmentDone<Message>) -> Self
fn from(concrete: SegmentDone<Message>) -> Self
Converts to this type from the input type.
source§impl From<SegmentStart<Message>> for Message
impl From<SegmentStart<Message>> for Message
source§fn from(concrete: SegmentStart<Message>) -> Self
fn from(concrete: SegmentStart<Message>) -> Self
Converts to this type from the input type.
source§impl From<StateChanged<Message>> for Message
impl From<StateChanged<Message>> for Message
source§fn from(concrete: StateChanged<Message>) -> Self
fn from(concrete: StateChanged<Message>) -> Self
Converts to this type from the input type.
source§impl From<StateDirty<Message>> for Message
impl From<StateDirty<Message>> for Message
source§fn from(concrete: StateDirty<Message>) -> Self
fn from(concrete: StateDirty<Message>) -> Self
Converts to this type from the input type.
source§impl From<StreamCollection<Message>> for Message
impl From<StreamCollection<Message>> for Message
source§fn from(concrete: StreamCollection<Message>) -> Self
fn from(concrete: StreamCollection<Message>) -> Self
Converts to this type from the input type.
source§impl From<StreamStart<Message>> for Message
impl From<StreamStart<Message>> for Message
source§fn from(concrete: StreamStart<Message>) -> Self
fn from(concrete: StreamStart<Message>) -> Self
Converts to this type from the input type.
source§impl From<StreamStatus<Message>> for Message
impl From<StreamStatus<Message>> for Message
source§fn from(concrete: StreamStatus<Message>) -> Self
fn from(concrete: StreamStatus<Message>) -> Self
Converts to this type from the input type.
source§impl From<StreamsSelected<Message>> for Message
impl From<StreamsSelected<Message>> for Message
source§fn from(concrete: StreamsSelected<Message>) -> Self
fn from(concrete: StreamsSelected<Message>) -> Self
Converts to this type from the input type.
source§impl From<StructureChange<Message>> for Message
impl From<StructureChange<Message>> for Message
source§fn from(concrete: StructureChange<Message>) -> Self
fn from(concrete: StructureChange<Message>) -> Self
Converts to this type from the input type.
source§impl FromGlibContainerAsVec<*mut GstMessage, *const *mut GstMessage> for Message
impl FromGlibContainerAsVec<*mut GstMessage, *const *mut GstMessage> for Message
unsafe fn from_glib_none_num_as_vec( ptr: *const *mut GstMessage, num: usize, ) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec( _: *const *mut GstMessage, _: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( _: *const *mut GstMessage, _: usize, ) -> Vec<Self>
source§impl FromGlibContainerAsVec<*mut GstMessage, *mut *mut GstMessage> for Message
impl FromGlibContainerAsVec<*mut GstMessage, *mut *mut GstMessage> for Message
unsafe fn from_glib_none_num_as_vec( ptr: *mut *mut GstMessage, num: usize, ) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec( ptr: *mut *mut GstMessage, num: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( ptr: *mut *mut GstMessage, num: usize, ) -> Vec<Self>
source§impl FromGlibPtrArrayContainerAsVec<*mut GstMessage, *const *mut GstMessage> for Message
impl FromGlibPtrArrayContainerAsVec<*mut GstMessage, *const *mut GstMessage> for Message
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstMessage) -> Vec<Self>
unsafe fn from_glib_container_as_vec(_: *const *mut GstMessage) -> Vec<Self>
unsafe fn from_glib_full_as_vec(_: *const *mut GstMessage) -> Vec<Self>
source§impl FromGlibPtrArrayContainerAsVec<*mut GstMessage, *mut *mut GstMessage> for Message
impl FromGlibPtrArrayContainerAsVec<*mut GstMessage, *mut *mut GstMessage> for Message
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstMessage) -> Vec<Self>
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstMessage) -> Vec<Self>
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstMessage) -> Vec<Self>
source§impl FromGlibPtrBorrow<*const GstMessage> for Message
impl FromGlibPtrBorrow<*const GstMessage> for Message
source§unsafe fn from_glib_borrow(ptr: *const GstMessage) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *const GstMessage) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrBorrow<*mut GstMessage> for Message
impl FromGlibPtrBorrow<*mut GstMessage> for Message
source§unsafe fn from_glib_borrow(ptr: *mut GstMessage) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *mut GstMessage) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrFull<*const GstMessage> for Message
impl FromGlibPtrFull<*const GstMessage> for Message
source§unsafe fn from_glib_full(ptr: *const GstMessage) -> Self
unsafe fn from_glib_full(ptr: *const GstMessage) -> Self
Safety Read more
source§impl FromGlibPtrFull<*mut GstMessage> for Message
impl FromGlibPtrFull<*mut GstMessage> for Message
source§unsafe fn from_glib_full(ptr: *mut GstMessage) -> Self
unsafe fn from_glib_full(ptr: *mut GstMessage) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const GstMessage> for Message
impl FromGlibPtrNone<*const GstMessage> for Message
source§unsafe fn from_glib_none(ptr: *const GstMessage) -> Self
unsafe fn from_glib_none(ptr: *const GstMessage) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut GstMessage> for Message
impl FromGlibPtrNone<*mut GstMessage> for Message
source§unsafe fn from_glib_none(ptr: *mut GstMessage) -> Self
unsafe fn from_glib_none(ptr: *mut GstMessage) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a Message
impl<'a> FromValue<'a> for &'a Message
§type Checker = GenericValueTypeOrNoneChecker<&'a Message>
type Checker = GenericValueTypeOrNoneChecker<&'a Message>
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 Message
impl<'a> FromValue<'a> for Message
§type Checker = GenericValueTypeOrNoneChecker<Message>
type Checker = GenericValueTypeOrNoneChecker<Message>
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 GlibPtrDefault for Message
impl GlibPtrDefault for Message
type GlibType = *mut GstMessage
source§impl HasParamSpec for Message
impl HasParamSpec for Message
source§impl IntoGlibPtr<*mut GstMessage> for Message
impl IntoGlibPtr<*mut GstMessage> for Message
source§unsafe fn into_glib_ptr(self) -> *mut GstMessage
unsafe fn into_glib_ptr(self) -> *mut GstMessage
Transfer: full.
source§impl IsMiniObject for Message
impl IsMiniObject for Message
type RefType = MessageRef
type FfiType = GstMessage
source§impl StaticType for Message
impl StaticType for Message
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstMessage> for Message
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstMessage> for Message
type Storage = (PhantomData<&'a [Message]>, Option<Vec<*mut GstMessage>>)
fn to_glib_none_from_slice( t: &'a [Message], ) -> (*const *mut GstMessage, Self::Storage)
fn to_glib_container_from_slice( _: &'a [Message], ) -> (*const *mut GstMessage, Self::Storage)
fn to_glib_full_from_slice(_: &[Message]) -> *const *mut GstMessage
source§impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstMessage> for Message
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstMessage> for Message
type Storage = (PhantomData<&'a [Message]>, Option<Vec<*mut GstMessage>>)
fn to_glib_none_from_slice( t: &'a [Message], ) -> (*mut *mut GstMessage, Self::Storage)
fn to_glib_container_from_slice( t: &'a [Message], ) -> (*mut *mut GstMessage, Self::Storage)
fn to_glib_full_from_slice(t: &[Message]) -> *mut *mut GstMessage
source§impl<'a> ToGlibPtr<'a, *const GstMessage> for Message
impl<'a> ToGlibPtr<'a, *const GstMessage> for Message
type Storage = PhantomData<&'a Message>
source§fn to_glib_none(&'a self) -> Stash<'a, *const GstMessage, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const GstMessage, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const GstMessage
fn to_glib_full(&self) -> *const GstMessage
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtr<'a, *mut GstMessage> for Message
impl<'a> ToGlibPtr<'a, *mut GstMessage> for Message
type Storage = PhantomData<&'a Message>
source§fn to_glib_none(&'a self) -> Stash<'a, *mut GstMessage, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstMessage, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut GstMessage
fn to_glib_full(&self) -> *mut GstMessage
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtrMut<'a, *mut GstMessage> for Message
impl<'a> ToGlibPtrMut<'a, *mut GstMessage> for Message
type Storage = PhantomData<&'a mut Message>
source§fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstMessage, Self>
fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstMessage, Self>
Transfer: none. Read more
source§impl ToValueOptional for Message
impl ToValueOptional for Message
impl Send for Message
impl Sync for Message
impl TransparentPtrType for Message
impl ValueTypeOptional for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Unpin for Message
impl UnwindSafe for Message
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GList) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GList) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GPtrArray) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GPtrArray) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GPtrArray) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GSList) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GSList) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GSList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GList) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GList) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GPtrArray) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GPtrArray) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GPtrArray) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GSList) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GSList) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GSList) -> Vec<T>
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
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> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.