Struct gstreamer::message::MessageRef
source · #[repr(C)]pub struct MessageRef(_);
Implementations
sourceimpl MessageRef
impl MessageRef
pub fn get_src(&self) -> Option<Object>
pub fn get_seqnum(&self) -> Seqnum
pub fn get_structure(&self) -> Option<&StructureRef>
pub fn view(&self) -> MessageView<'_>
Trait Implementations
sourceimpl Debug for MessageRef
impl Debug for MessageRef
sourceimpl MiniObject for MessageRef
impl MiniObject for MessageRef
type GstType = GstMessage
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
sourceimpl StaticType for MessageRef
impl StaticType for MessageRef
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.sourceimpl ToOwned for MessageRef
impl ToOwned for MessageRef
type Owned = GstRc<MessageRef>
type Owned = GstRc<MessageRef>
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> GstRc<MessageRef>
fn to_owned(&self) -> GstRc<MessageRef>
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Send for MessageRef
impl Sync for MessageRef
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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