Struct gstreamer::message::Message [−][src]
pub struct Message { /* fields omitted */ }
Implementations
impl Message
[src]
impl Message
[src]pub unsafe fn from_glib_none(ptr: *const GstMessage) -> Self
[src]
pub unsafe fn from_glib_full(ptr: *const GstMessage) -> Self
[src]
pub unsafe fn from_glib_borrow(ptr: *const GstMessage) -> Borrowed<Self>
[src]
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstMessage)
[src]
pub fn make_mut(&mut self) -> &mut MessageRef
[src]
pub fn get_mut(&mut self) -> Option<&mut MessageRef>
[src]
pub fn is_writable(&self) -> bool
[src]
pub unsafe fn into_ptr(self) -> *mut GstMessage
[src]
Methods from Deref<Target = MessageRef>
pub unsafe fn as_ptr(&self) -> *const GstMessage
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstMessage
[src]
pub fn copy(&self) -> Message
[src]
pub fn src(&self) -> Option<Object>
[src]
pub fn seqnum(&self) -> Seqnum
[src]
pub fn structure(&self) -> Option<&StructureRef>
[src]
pub fn view(&self) -> MessageView<'_>
[src]
pub fn type_(&self) -> MessageType
[src]
Trait Implementations
impl AsRef<MessageRef> for Message
[src]
impl AsRef<MessageRef> for Message
[src]fn as_ref(&self) -> &MessageRef
[src]
fn as_ref(&self) -> &MessageRef
[src]Performs the conversion.
impl Borrow<MessageRef> for Message
[src]
impl Borrow<MessageRef> for Message
[src]fn borrow(&self) -> &MessageRef
[src]
fn borrow(&self) -> &MessageRef
[src]Immutably borrows from an owned value. Read more
impl Deref for Message
[src]
impl Deref for Message
[src]type Target = MessageRef
type Target = MessageRef
The resulting type after dereferencing.
impl FromGlibPtrArrayContainerAsVec<*mut GstMessage, *const *mut GstMessage> for Message
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstMessage, *const *mut GstMessage> for Message
[src]unsafe fn from_glib_none_as_vec(ptr: *const *mut GstMessage) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(_: *const *mut GstMessage) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(_: *const *mut GstMessage) -> Vec<Self>
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstMessage, *mut *mut GstMessage> for Message
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstMessage, *mut *mut GstMessage> for Message
[src]unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstMessage) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstMessage) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstMessage) -> Vec<Self>
[src]
impl FromGlibPtrBorrow<*const GstMessage> for Message
[src]
impl FromGlibPtrBorrow<*const GstMessage> for Message
[src]unsafe fn from_glib_borrow(ptr: *const GstMessage) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(ptr: *const GstMessage) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrBorrow<*mut GstMessage> for Message
[src]
impl FromGlibPtrBorrow<*mut GstMessage> for Message
[src]unsafe fn from_glib_borrow(ptr: *mut GstMessage) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(ptr: *mut GstMessage) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrFull<*const GstMessage> for Message
[src]
impl FromGlibPtrFull<*const GstMessage> for Message
[src]unsafe fn from_glib_full(ptr: *const GstMessage) -> Self
[src]
unsafe fn from_glib_full(ptr: *const GstMessage) -> Self
[src]Safety Read more
impl FromGlibPtrFull<*mut GstMessage> for Message
[src]
impl FromGlibPtrFull<*mut GstMessage> for Message
[src]unsafe fn from_glib_full(ptr: *mut GstMessage) -> Self
[src]
unsafe fn from_glib_full(ptr: *mut GstMessage) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*const GstMessage> for Message
[src]
impl FromGlibPtrNone<*const GstMessage> for Message
[src]unsafe fn from_glib_none(ptr: *const GstMessage) -> Self
[src]
unsafe fn from_glib_none(ptr: *const GstMessage) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*mut GstMessage> for Message
[src]
impl FromGlibPtrNone<*mut GstMessage> for Message
[src]unsafe fn from_glib_none(ptr: *mut GstMessage) -> Self
[src]
unsafe fn from_glib_none(ptr: *mut GstMessage) -> Self
[src]Safety Read more
impl<'a> FromValue<'a> for Message
[src]
impl<'a> FromValue<'a> for Message
[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
[src]Get the contained value from a Value
. Read more
impl GlibPtrDefault for Message
[src]
impl GlibPtrDefault for Message
[src]impl StaticType for Message
[src]
impl StaticType for Message
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstMessage> for Message
[src]
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstMessage> for Message
[src]type Storage = (Vec<Stash<'a, *mut GstMessage, Message>>, Option<Vec<*mut GstMessage>>)
fn to_glib_none_from_slice(
t: &'a [Message]
) -> (*const *mut GstMessage, Self::Storage)
[src]
t: &'a [Message]
) -> (*const *mut GstMessage, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [Message]
) -> (*const *mut GstMessage, Self::Storage)
[src]
_: &'a [Message]
) -> (*const *mut GstMessage, Self::Storage)
fn to_glib_full_from_slice(_: &[Message]) -> *const *mut GstMessage
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstMessage> for Message
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstMessage> for Message
[src]type Storage = (Vec<Stash<'a, *mut GstMessage, Self>>, Option<Vec<*mut GstMessage>>)
fn to_glib_none_from_slice(
t: &'a [Message]
) -> (*mut *mut GstMessage, Self::Storage)
[src]
t: &'a [Message]
) -> (*mut *mut GstMessage, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [Message]
) -> (*mut *mut GstMessage, Self::Storage)
[src]
t: &'a [Message]
) -> (*mut *mut GstMessage, Self::Storage)
fn to_glib_full_from_slice(t: &[Message]) -> *mut *mut GstMessage
[src]
impl<'a> ToGlibPtr<'a, *const GstMessage> for Message
[src]
impl<'a> ToGlibPtr<'a, *const GstMessage> for Message
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GstMessage, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *const GstMessage, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *const GstMessage
[src]
fn to_glib_full(&self) -> *const GstMessage
[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]Transfer: container. Read more
impl<'a> ToGlibPtr<'a, *mut GstMessage> for Message
[src]
impl<'a> ToGlibPtr<'a, *mut GstMessage> for Message
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *mut GstMessage, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *mut GstMessage, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *mut GstMessage
[src]
fn to_glib_full(&self) -> *mut GstMessage
[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]Transfer: container. Read more
impl<'a> ToGlibPtrMut<'a, *mut GstMessage> for Message
[src]
impl<'a> ToGlibPtrMut<'a, *mut GstMessage> for Message
[src]impl ToValueOptional for Message
[src]
impl ToValueOptional for Message
[src]fn to_value_optional(s: Option<&Self>) -> Value
[src]
fn to_value_optional(s: Option<&Self>) -> Value
[src]Convert an Option
to a Value
.
impl Send for Message
[src]
impl Sync for Message
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
pub fn to_send_value(&self) -> SendValue
[src]Returns a SendValue
clone of self
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,