Enum arcdps_imgui::Condition
source · #[repr(i8)]pub enum Condition {
Never = -1,
Always = 1,
Once = 2,
FirstUseEver = 4,
Appearing = 8,
}
Expand description
Condition for applying a setting
Variants§
Never = -1
Never apply the setting
Always = 1
Always apply the setting
Once = 2
Apply the setting once per runtime session (only the first call will succeed)
FirstUseEver = 4
Apply the setting if the object/window has no persistently saved data (no entry in .ini file)
Appearing = 8
Apply the setting 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)