pub enum Preserve {
No {
explicit: bool,
},
Yes {
required: bool,
},
}
Variants§
Trait Implementations§
source§impl Ord for Preserve
impl Ord for Preserve
source§impl PartialEq for Preserve
impl PartialEq for Preserve
source§impl PartialOrd for Preserve
impl PartialOrd for Preserve
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Preserve
impl Eq for Preserve
impl StructuralEq for Preserve
impl StructuralPartialEq for Preserve
Auto Trait Implementations§
impl RefUnwindSafe for Preserve
impl Send for Preserve
impl Sync for Preserve
impl Unpin for Preserve
impl UnwindSafe for Preserve
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