pub struct DriverDescriptor {
pub id: DeviceId,
pub name: String,
}
Fields§
§id: DeviceId
§name: String
Trait Implementations§
Source§impl Clone for DriverDescriptor
impl Clone for DriverDescriptor
Source§fn clone(&self) -> DriverDescriptor
fn clone(&self) -> DriverDescriptor
Returns a copy of the value. Read more
1.0.0 · 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 DriverDescriptor
impl Debug for DriverDescriptor
Auto Trait Implementations§
impl Freeze for DriverDescriptor
impl RefUnwindSafe for DriverDescriptor
impl Send for DriverDescriptor
impl Sync for DriverDescriptor
impl Unpin for DriverDescriptor
impl UnwindSafe for DriverDescriptor
Blanket Implementations§
Source§impl<T> Background for T
impl<T> Background for T
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