pub struct CompositeDriverMatch {
pub composite_driver: Option<CompositeDriverInfo>,
pub parent_names: Option<Vec<String>>,
pub primary_parent_index: Option<u32>,
}
Expand description
Information for a composite driver that has matched with a composite.
Fields§
§composite_driver: Option<CompositeDriverInfo>
§parent_names: Option<Vec<String>>
§primary_parent_index: Option<u32>
Trait Implementations§
Source§impl Clone for CompositeDriverMatch
impl Clone for CompositeDriverMatch
Source§fn clone(&self) -> CompositeDriverMatch
fn clone(&self) -> CompositeDriverMatch
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 CompositeDriverMatch
impl Debug for CompositeDriverMatch
Source§impl Default for CompositeDriverMatch
impl Default for CompositeDriverMatch
Source§fn default() -> CompositeDriverMatch
fn default() -> CompositeDriverMatch
Returns the “default value” for a type. Read more
Source§impl Encodable for CompositeDriverMatch
impl Encodable for CompositeDriverMatch
Source§type Encoded = WireCompositeDriverMatch
type Encoded = WireCompositeDriverMatch
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 CompositeDriverMatchwhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for CompositeDriverMatchwhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireCompositeDriverMatch> for CompositeDriverMatch
impl TakeFrom<WireCompositeDriverMatch> for CompositeDriverMatch
Source§fn take_from(from: &WireCompositeDriverMatch) -> Self
fn take_from(from: &WireCompositeDriverMatch) -> 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 CompositeDriverMatch
impl RefUnwindSafe for CompositeDriverMatch
impl Send for CompositeDriverMatch
impl Sync for CompositeDriverMatch
impl Unpin for CompositeDriverMatch
impl UnwindSafe for CompositeDriverMatch
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