Struct gstreamer::message::DeviceChanged
source · #[repr(transparent)]pub struct DeviceChanged<T = MessageRef>(_);
Implementations§
source§impl DeviceChanged
impl DeviceChanged
pub fn message(&self) -> &MessageRef
source§impl DeviceChanged<Message>
impl DeviceChanged<Message>
pub fn get_mut(&mut self) -> Option<&mut DeviceChanged>
source§impl DeviceChanged
impl DeviceChanged
pub fn new(device: &Device, changed_device: &Device) -> Message
Available on crate feature
v1_16
only.pub fn builder<'a>( device: &'a Device, changed_device: &'a Device ) -> DeviceChangedBuilder<'a>
Available on crate feature
v1_16
only.pub fn device_changed(&self) -> (Device, Device)
Available on crate feature
v1_16
only.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<DeviceChanged<MessageRef>> for DeviceChanged<Message>
impl Borrow<DeviceChanged<MessageRef>> for DeviceChanged<Message>
source§fn borrow(&self) -> &DeviceChanged
fn borrow(&self) -> &DeviceChanged
Immutably borrows from an owned value. Read more
source§impl<T: Debug> Debug for DeviceChanged<T>
impl<T: Debug> Debug for DeviceChanged<T>
source§impl Deref for DeviceChanged
impl Deref for DeviceChanged
source§impl Deref for DeviceChanged<Message>
impl Deref for DeviceChanged<Message>
§type Target = DeviceChanged<MessageRef>
type Target = DeviceChanged<MessageRef>
The resulting type after dereferencing.
source§impl From<DeviceChanged<Message>> for Message
impl From<DeviceChanged<Message>> for Message
source§fn from(concrete: DeviceChanged<Message>) -> Self
fn from(concrete: DeviceChanged<Message>) -> Self
Converts to this type from the input type.
source§impl ToOwned for DeviceChanged
impl ToOwned for DeviceChanged
§type Owned = DeviceChanged<Message>
type Owned = DeviceChanged<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