pub struct UserAmpInfo {
pub slot: u8,
pub name: String,
pub factor: f32,
pub raw: [u8; 128],
}Expand description
The 128-byte user AMP slot-info record (0x58 sub 3 write, sub 4 reply), kept whole so
unknown bytes survive.
Known: bytes 0–31 name (ASCII, zero-padded), 32–35 u32 = 256 in every record seen,
52–55 f32 factor (1.0 in both captured imports). An empty slot reads back as
"USER AMP NN" with 1.0 in each of the eleven floats at 52–95.
Fields§
§slot: u8§name: String§factor: f32§raw: [u8; 128]Implementations§
Trait Implementations§
Source§impl Clone for UserAmpInfo
impl Clone for UserAmpInfo
Source§fn clone(&self) -> UserAmpInfo
fn clone(&self) -> UserAmpInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UserAmpInfo
impl Debug for UserAmpInfo
Source§impl PartialEq for UserAmpInfo
impl PartialEq for UserAmpInfo
impl StructuralPartialEq for UserAmpInfo
Auto Trait Implementations§
impl Freeze for UserAmpInfo
impl RefUnwindSafe for UserAmpInfo
impl Send for UserAmpInfo
impl Sync for UserAmpInfo
impl Unpin for UserAmpInfo
impl UnsafeUnpin for UserAmpInfo
impl UnwindSafe for UserAmpInfo
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