#[repr(C, packed(1))]pub struct OBUint16PropertyRange {
pub cur: u16,
pub max: u16,
pub min: u16,
pub step: u16,
pub def: u16,
}Expand description
@brief Structure for float range
Fields§
§cur: u16< Current value
max: u16< Maximum value
min: u16< Minimum value
step: u16< Step value
def: u16< Default value
Trait Implementations§
Source§impl Clone for OBUint16PropertyRange
impl Clone for OBUint16PropertyRange
Source§fn clone(&self) -> OBUint16PropertyRange
fn clone(&self) -> OBUint16PropertyRange
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 moreimpl Copy for OBUint16PropertyRange
Auto Trait Implementations§
impl Freeze for OBUint16PropertyRange
impl RefUnwindSafe for OBUint16PropertyRange
impl Send for OBUint16PropertyRange
impl Sync for OBUint16PropertyRange
impl Unpin for OBUint16PropertyRange
impl UnsafeUnpin for OBUint16PropertyRange
impl UnwindSafe for OBUint16PropertyRange
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