#[repr(i32)]pub enum Condition {
Never = -1,
Always = 1,
Once = 2,
FirstUseEver = 4,
Appearing = 8,
}Expand description
Condition for setting window/widget properties
Variants§
Never = -1
Never apply the setting
Always = 1
Set the variable always
Once = 2
Set the variable once per runtime session (only the first call will succeed)
FirstUseEver = 4
Set the variable if the object/window has no persistently saved data (no entry in .ini file)
Appearing = 8
Set the variable if the object/window is appearing after being hidden/inactive (or the first time)
Trait Implementations§
impl Copy for Condition
impl Eq for Condition
impl StructuralPartialEq for Condition
Auto Trait Implementations§
impl Freeze for Condition
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnwindSafe for Condition
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