pub enum FlagSetMode {
Enable,
Disable,
}Expand description
Whether to enable or disable flags in Env::set_flags.
Variants§
Trait Implementations§
Source§impl Clone for FlagSetMode
impl Clone for FlagSetMode
impl Copy for FlagSetMode
Source§impl Debug for FlagSetMode
impl Debug for FlagSetMode
impl Eq for FlagSetMode
Source§impl Hash for FlagSetMode
impl Hash for FlagSetMode
Source§impl Ord for FlagSetMode
impl Ord for FlagSetMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FlagSetMode
impl PartialEq for FlagSetMode
Source§impl PartialOrd for FlagSetMode
impl PartialOrd for FlagSetMode
impl StructuralPartialEq for FlagSetMode
Auto Trait Implementations§
impl Freeze for FlagSetMode
impl RefUnwindSafe for FlagSetMode
impl Send for FlagSetMode
impl Sync for FlagSetMode
impl Unpin for FlagSetMode
impl UnsafeUnpin for FlagSetMode
impl UnwindSafe for FlagSetMode
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