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