pub struct MediaInfoUpdated<T = MessageRef>(/* private fields */);
Implementations§
Source§impl MediaInfoUpdated
impl MediaInfoUpdated
pub fn message(&self) -> &MessageRef
Source§impl MediaInfoUpdated
impl MediaInfoUpdated
pub fn media_info(&self) -> &PlayMediaInfo
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
pub fn src(&self) -> Option<&Object>
pub fn seqnum(&self) -> Seqnum
pub fn set_seqnum(&self, seqnum: Seqnum)
pub fn structure(&self) -> Option<&StructureRef>
pub fn details(&self) -> Option<&StructureRef>
pub fn has_name(&self, name: &str) -> bool
pub fn view(&self) -> MessageView<'_>
pub fn type_(&self) -> MessageType
Trait Implementations§
Source§impl Borrow<MediaInfoUpdated> for MediaInfoUpdated<Message>
impl Borrow<MediaInfoUpdated> for MediaInfoUpdated<Message>
Source§fn borrow(&self) -> &MediaInfoUpdated
fn borrow(&self) -> &MediaInfoUpdated
Immutably borrows from an owned value. Read more
Source§impl Debug for MediaInfoUpdated
impl Debug for MediaInfoUpdated
Source§impl Deref for MediaInfoUpdated
impl Deref for MediaInfoUpdated
Source§impl Deref for MediaInfoUpdated<Message>
impl Deref for MediaInfoUpdated<Message>
Source§impl From<MediaInfoUpdated<Message>> for Message
impl From<MediaInfoUpdated<Message>> for Message
Source§fn from(concrete: MediaInfoUpdated<Message>) -> Self
fn from(concrete: MediaInfoUpdated<Message>) -> Self
Converts to this type from the input type.
Source§impl ToOwned for MediaInfoUpdated
impl ToOwned for MediaInfoUpdated
Source§type Owned = MediaInfoUpdated<Message>
type Owned = MediaInfoUpdated<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> Freeze for MediaInfoUpdated<T>where
T: Freeze,
impl<T> RefUnwindSafe for MediaInfoUpdated<T>where
T: RefUnwindSafe,
impl<T> Send for MediaInfoUpdated<T>where
T: Send,
impl<T> Sync for MediaInfoUpdated<T>where
T: Sync,
impl<T> Unpin for MediaInfoUpdated<T>where
T: Unpin,
impl<T> UnwindSafe for MediaInfoUpdated<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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more