#[repr(C)]pub struct WireDriverInfo { /* private fields */ }
Expand description
The wire type corresponding to DriverInfo
.
Implementations§
Source§impl WireDriverInfo
impl WireDriverInfo
pub fn url(&self) -> Option<&WireString>
pub fn name(&self) -> Option<&WireString>
pub fn colocate(&self) -> Option<&bool>
pub fn package_type(&self) -> Option<&WireDriverPackageType>
pub fn is_fallback(&self) -> Option<&bool>
pub fn device_categories(&self) -> Option<&WireVector<WireDeviceCategory>>
pub fn bind_rules_bytecode(&self) -> Option<&WireVector<u8>>
pub fn driver_framework_version(&self) -> Option<&u8>
pub fn is_disabled(&self) -> Option<&bool>
Trait Implementations§
Source§impl Debug for WireDriverInfo
impl Debug for WireDriverInfo
Source§impl<___D> Decode<___D> for WireDriverInfowhere
___D: Decoder + ?Sized,
impl<___D> Decode<___D> for WireDriverInfowhere
___D: Decoder + ?Sized,
Source§impl TakeFrom<WireDriverInfo> for DriverInfo
impl TakeFrom<WireDriverInfo> for DriverInfo
Source§fn take_from(from: &WireDriverInfo) -> Self
fn take_from(from: &WireDriverInfo) -> 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 moreSource§impl TakeFrom<WireDriverInfo> for DriverInfo
impl TakeFrom<WireDriverInfo> for DriverInfo
Source§fn take_from(from: &WireDriverInfo) -> Self
fn take_from(from: &WireDriverInfo) -> 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 moreSource§impl ZeroPadding for WireDriverInfo
impl ZeroPadding for WireDriverInfo
Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireDriverInfo
impl RefUnwindSafe for WireDriverInfo
impl !Send for WireDriverInfo
impl !Sync for WireDriverInfo
impl Unpin for WireDriverInfo
impl UnwindSafe for WireDriverInfo
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