Struct show_image::event::DeviceAddedEvent
source · [−]pub struct DeviceAddedEvent {
pub device_id: DeviceId,
}
Expand description
A new device was added.
Fields
device_id: DeviceId
The ID of the device.
Trait Implementations
sourceimpl Clone for DeviceAddedEvent
impl Clone for DeviceAddedEvent
sourcefn clone(&self) -> DeviceAddedEvent
fn clone(&self) -> DeviceAddedEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeviceAddedEvent
impl Debug for DeviceAddedEvent
sourceimpl From<DeviceAddedEvent> for DeviceEvent
impl From<DeviceAddedEvent> for DeviceEvent
sourcefn from(other: DeviceAddedEvent) -> Self
fn from(other: DeviceAddedEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for DeviceAddedEvent
impl Send for DeviceAddedEvent
impl Sync for DeviceAddedEvent
impl Unpin for DeviceAddedEvent
impl UnwindSafe for DeviceAddedEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more