Struct gstreamer::message::HaveContext
source · pub struct HaveContext<T = MessageRef>(/* private fields */);
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>
Trait Implementations§
source§impl Borrow<HaveContext> for HaveContext<Message>
impl Borrow<HaveContext> for HaveContext<Message>
source§fn borrow(&self) -> &HaveContext
fn borrow(&self) -> &HaveContext
Immutably borrows from an owned value. Read more
source§impl Debug for HaveContext
impl Debug for HaveContext
source§impl Debug for HaveContext<Message>
impl Debug for HaveContext<Message>
source§impl Deref for HaveContext
impl Deref for HaveContext
source§impl Deref for HaveContext<Message>
impl Deref for HaveContext<Message>
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
Auto Trait Implementations§
impl<T> RefUnwindSafe for HaveContext<T>where
T: RefUnwindSafe,
impl<T> Send for HaveContext<T>where
T: Send,
impl<T> Sync for HaveContext<T>where
T: Sync,
impl<T> Unpin for HaveContext<T>where
T: Unpin,
impl<T> UnwindSafe for HaveContext<T>where
T: UnwindSafe,
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