pub struct Value {
pub ty: u8,
pub mh: u8,
pub ml: u8,
pub sh: u8,
pub sl: u8,
}Expand description
VCP Value
Fields§
§ty: u8Specifies the type of the value, continuous or non-continuous.
mh: u8The high byte of the maximum allowed value.
ml: u8The low byte of the maximum allowed value.
sh: u8The high byte of the value.
sl: u8The low byte of the value.
Implementations§
Trait Implementations§
Source§impl Ord for Value
impl Ord for Value
Source§impl PartialOrd for Value
impl PartialOrd for Value
impl Copy for Value
impl Eq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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