pub struct CcInfo {
pub id: u16,
pub name: &'static str,
pub title: &'static str,
pub version: u8,
}Expand description
Metadata of a command class.
Fields§
§id: u16Command class id.
name: &'static strSnake-case name.
title: &'static strTitle.
version: u8Highest version the definitions cover.
Trait Implementations§
impl Copy for CcInfo
impl Eq for CcInfo
impl StructuralPartialEq for CcInfo
Auto Trait Implementations§
impl Freeze for CcInfo
impl RefUnwindSafe for CcInfo
impl Send for CcInfo
impl Sync for CcInfo
impl Unpin for CcInfo
impl UnsafeUnpin for CcInfo
impl UnwindSafe for CcInfo
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