pub struct ProfilesDescription {
pub memory_model: MemoryModel,
pub profile_format: u8,
pub macro_format: u8,
pub profile_count: u8,
pub profile_count_oob: u8,
pub button_count: u8,
pub sector_count: u8,
pub sector_size: u16,
pub mechanical_layout: u8,
pub num_modes: u8,
}Expand description
Profile capabilities and description.
Fields§
§memory_model: MemoryModelMemory model type.
profile_format: u8Profile format version.
macro_format: u8Macro format version.
profile_count: u8Number of profiles.
profile_count_oob: u8Maximum number of profiles supported.
Number of buttons per profile.
sector_count: u8Number of sectors for profiles.
sector_size: u16Sector page size in bytes.
mechanical_layout: u8Device mechanical layout.
num_modes: u8Number of different modes.
Trait Implementations§
Source§impl Clone for ProfilesDescription
impl Clone for ProfilesDescription
Source§fn clone(&self) -> ProfilesDescription
fn clone(&self) -> ProfilesDescription
Returns a duplicate 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 ProfilesDescription
impl Debug for ProfilesDescription
Source§impl PartialEq for ProfilesDescription
impl PartialEq for ProfilesDescription
impl Eq for ProfilesDescription
impl StructuralPartialEq for ProfilesDescription
Auto Trait Implementations§
impl Freeze for ProfilesDescription
impl RefUnwindSafe for ProfilesDescription
impl Send for ProfilesDescription
impl Sync for ProfilesDescription
impl Unpin for ProfilesDescription
impl UnwindSafe for ProfilesDescription
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