#[repr(C)]pub struct QueryCtrl { /* private fields */ }
Implementations§
Source§impl QueryCtrl
impl QueryCtrl
Sourcepub fn min(&self) -> i32
pub fn min(&self) -> i32
Minimum value, inclusive
This field gives a lower bound for the control.
Sourcepub fn max(&self) -> i32
pub fn max(&self) -> i32
Maximum value, inclusive
This field gives an upper bound for the control
Sourcepub fn default(&self) -> i32
pub fn default(&self) -> i32
Default value of control
The default value of a CtrlType::Integer, CtrlType::Boolean, CtrlType::BitMask, CtrlType::Menu or CtrlType::IntegerMenu control. Not valid for other types of controls
Trait Implementations§
Source§impl From<QueryCtrl> for QueryExtCtrl
impl From<QueryCtrl> for QueryExtCtrl
impl Copy for QueryCtrl
Auto Trait Implementations§
impl Freeze for QueryCtrl
impl RefUnwindSafe for QueryCtrl
impl Send for QueryCtrl
impl Sync for QueryCtrl
impl Unpin for QueryCtrl
impl UnwindSafe for QueryCtrl
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