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