pub enum UseDefault {
Enabled,
Disabled,
}Expand description
Default value for a USE flag that is not defined by the dependency package
When a package does not define a particular USE flag in its IUSE, the default annotation specifies what value the package manager should assume.
See PMS 8.3.4.
Variants§
Enabled
(+) — assume the flag is enabled if not defined by the package.
Disabled
(-) — assume the flag is disabled if not defined by the package.
Trait Implementations§
Source§impl Clone for UseDefault
impl Clone for UseDefault
Source§fn clone(&self) -> UseDefault
fn clone(&self) -> UseDefault
Returns a duplicate 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 UseDefault
impl Debug for UseDefault
Source§impl Display for UseDefault
impl Display for UseDefault
Source§impl Hash for UseDefault
impl Hash for UseDefault
Source§impl PartialEq for UseDefault
impl PartialEq for UseDefault
impl Copy for UseDefault
impl Eq for UseDefault
impl StructuralPartialEq for UseDefault
Auto Trait Implementations§
impl Freeze for UseDefault
impl RefUnwindSafe for UseDefault
impl Send for UseDefault
impl Sync for UseDefault
impl Unpin for UseDefault
impl UnsafeUnpin for UseDefault
impl UnwindSafe for UseDefault
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