Struct cameleon::u3v::register_map::DeviceCapability
source · pub struct DeviceCapability(_);
Expand description
Indicate some optional features are supported or not.
Implementations§
source§impl DeviceCapability
impl DeviceCapability
sourcepub fn is_user_defined_name_supported(self) -> bool
pub fn is_user_defined_name_supported(self) -> bool
Indicate whether use defined name is supported or not.
sourcepub fn is_family_name_supported(self) -> bool
pub fn is_family_name_supported(self) -> bool
Indicate whether family name is supported or not.
sourcepub fn is_multi_event_supported(self) -> bool
pub fn is_multi_event_supported(self) -> bool
Indicate whether the device supports multiple events in a single event command packet.
sourcepub fn is_stacked_commands_supported(self) -> bool
pub fn is_stacked_commands_supported(self) -> bool
Indicate whether the device supports stacked commands (ReadMemStacked
and WriteMemStacked
).
sourcepub fn is_device_software_interface_version_supported(self) -> bool
pub fn is_device_software_interface_version_supported(self) -> bool
Indicate whether the device supports software interface version is supported.
Trait Implementations§
source§impl Clone for DeviceCapability
impl Clone for DeviceCapability
source§fn clone(&self) -> DeviceCapability
fn clone(&self) -> DeviceCapability
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 DeviceCapability
impl Debug for DeviceCapability
impl Copy for DeviceCapability
Auto Trait Implementations§
impl RefUnwindSafe for DeviceCapability
impl Send for DeviceCapability
impl Sync for DeviceCapability
impl Unpin for DeviceCapability
impl UnwindSafe for DeviceCapability
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