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
Source§fn clone(&self) -> FlagSetMode
fn clone(&self) -> FlagSetMode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FlagSetMode
impl Debug for FlagSetMode
Source§impl Hash for FlagSetMode
impl Hash for FlagSetMode
Source§impl Ord for FlagSetMode
impl Ord for FlagSetMode
Source§fn cmp(&self, other: &FlagSetMode) -> Ordering
fn cmp(&self, other: &FlagSetMode) -> Ordering
1.21.0 · 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
Source§impl PartialEq for FlagSetMode
impl PartialEq for FlagSetMode
Source§impl PartialOrd for FlagSetMode
impl PartialOrd for FlagSetMode
impl Copy for FlagSetMode
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Enable
: 0 bytesDisable
: 0 bytes