#[repr(C)]pub struct DeviceGeneralInfo {
pub device_id: c_ushort,
pub flash_size: c_int,
pub bootloader_version: c_int,
pub category: [c_char; 4],
pub cpu: [c_char; 20],
pub name: [c_char; 100],
pub series: [c_char; 100],
pub description: [c_char; 150],
pub revision_id: [c_char; 8],
pub board: [c_char; 100],
}
Fields§
§device_id: c_ushort
§flash_size: c_int
§bootloader_version: c_int
§category: [c_char; 4]
§cpu: [c_char; 20]
§name: [c_char; 100]
§series: [c_char; 100]
§description: [c_char; 150]
§revision_id: [c_char; 8]
§board: [c_char; 100]
Trait Implementations§
Source§impl Clone for DeviceGeneralInfo
impl Clone for DeviceGeneralInfo
Source§fn clone(&self) -> DeviceGeneralInfo
fn clone(&self) -> DeviceGeneralInfo
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 DeviceGeneralInfo
impl Debug for DeviceGeneralInfo
impl Copy for DeviceGeneralInfo
Auto Trait Implementations§
impl Freeze for DeviceGeneralInfo
impl RefUnwindSafe for DeviceGeneralInfo
impl Send for DeviceGeneralInfo
impl Sync for DeviceGeneralInfo
impl Unpin for DeviceGeneralInfo
impl UnwindSafe for DeviceGeneralInfo
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