pub struct CompositeDriverInfo {
pub composite_name: Option<String>,
pub driver_info: Option<DriverInfo>,
}
Expand description
Information for a composite driver.
Fields§
§composite_name: Option<String>
§driver_info: Option<DriverInfo>
Trait Implementations§
Source§impl Clone for CompositeDriverInfo
impl Clone for CompositeDriverInfo
Source§fn clone(&self) -> CompositeDriverInfo
fn clone(&self) -> CompositeDriverInfo
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 CompositeDriverInfo
impl Debug for CompositeDriverInfo
Source§impl Default for CompositeDriverInfo
impl Default for CompositeDriverInfo
Source§fn default() -> CompositeDriverInfo
fn default() -> CompositeDriverInfo
Returns the “default value” for a type. Read more
Source§impl Encodable for CompositeDriverInfo
impl Encodable for CompositeDriverInfo
Source§type Encoded = WireCompositeDriverInfo
type Encoded = WireCompositeDriverInfo
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for CompositeDriverInfowhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for CompositeDriverInfowhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireCompositeDriverInfo> for CompositeDriverInfo
impl TakeFrom<WireCompositeDriverInfo> for CompositeDriverInfo
Source§fn take_from(from: &WireCompositeDriverInfo) -> Self
fn take_from(from: &WireCompositeDriverInfo) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for CompositeDriverInfo
impl RefUnwindSafe for CompositeDriverInfo
impl Send for CompositeDriverInfo
impl Sync for CompositeDriverInfo
impl Unpin for CompositeDriverInfo
impl UnwindSafe for CompositeDriverInfo
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