pub struct DeviceObject {
pub id: u8,
pub value: String,
}Fields§
§id: u8§value: StringTrait Implementations§
Source§impl Clone for DeviceObject
impl Clone for DeviceObject
Source§fn clone(&self) -> DeviceObject
fn clone(&self) -> DeviceObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeviceObject
impl RefUnwindSafe for DeviceObject
impl Send for DeviceObject
impl Sync for DeviceObject
impl Unpin for DeviceObject
impl UnsafeUnpin for DeviceObject
impl UnwindSafe for DeviceObject
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