Struct gstreamer::message::HaveContext
source · #[repr(transparent)]pub struct HaveContext<T = MessageRef>(_);
Implementations§
source§impl HaveContext
impl HaveContext
pub fn message(&self) -> &MessageRef
source§impl HaveContext<Message>
impl HaveContext<Message>
pub fn get_mut(&mut self) -> Option<&mut HaveContext>
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
Trait Implementations§
source§impl Borrow<HaveContext<MessageRef>> for HaveContext<Message>
impl Borrow<HaveContext<MessageRef>> for HaveContext<Message>
source§fn borrow(&self) -> &HaveContext
fn borrow(&self) -> &HaveContext
Immutably borrows from an owned value. Read more
source§impl<T: Debug> Debug for HaveContext<T>
impl<T: Debug> Debug for HaveContext<T>
source§impl Deref for HaveContext
impl Deref for HaveContext
source§impl Deref for HaveContext<Message>
impl Deref for HaveContext<Message>
§type Target = HaveContext<MessageRef>
type Target = HaveContext<MessageRef>
The resulting type after dereferencing.
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 ToOwned for HaveContext
impl ToOwned for HaveContext
§type Owned = HaveContext<Message>
type Owned = HaveContext<Message>
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn 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