pub struct DeviceField {
pub name: String,
pub size: u8,
}Fields§
§name: String§size: u8Trait Implementations§
Source§impl Clone for DeviceField
impl Clone for DeviceField
Source§fn clone(&self) -> DeviceField
fn clone(&self) -> DeviceField
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 moreSource§impl Debug for DeviceField
impl Debug for DeviceField
Source§impl PartialEq for DeviceField
impl PartialEq for DeviceField
Source§fn eq(&self, other: &DeviceField) -> bool
fn eq(&self, other: &DeviceField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceField
Auto Trait Implementations§
impl Freeze for DeviceField
impl RefUnwindSafe for DeviceField
impl Send for DeviceField
impl Sync for DeviceField
impl Unpin for DeviceField
impl UnsafeUnpin for DeviceField
impl UnwindSafe for DeviceField
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