pub enum WildcardAccessLevel {
None,
Read,
Write,
}Expand description
Represents the maximum access level that is possible.
Note that we derive Ord and PartialOrd, so the order in which variants are listed below matters: None < Read < Write. Do not change that order.
Variants§
Trait Implementations§
Source§impl Clone for WildcardAccessLevel
impl Clone for WildcardAccessLevel
Source§fn clone(&self) -> WildcardAccessLevel
fn clone(&self) -> WildcardAccessLevel
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 WildcardAccessLevel
impl Debug for WildcardAccessLevel
Source§impl Default for WildcardAccessLevel
impl Default for WildcardAccessLevel
Source§fn default() -> WildcardAccessLevel
fn default() -> WildcardAccessLevel
Returns the “default value” for a type. Read more
Source§impl Hash for WildcardAccessLevel
impl Hash for WildcardAccessLevel
Source§impl Ord for WildcardAccessLevel
impl Ord for WildcardAccessLevel
Source§fn cmp(&self, other: &WildcardAccessLevel) -> Ordering
fn cmp(&self, other: &WildcardAccessLevel) -> 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 WildcardAccessLevel
impl PartialEq for WildcardAccessLevel
Source§impl PartialOrd for WildcardAccessLevel
impl PartialOrd for WildcardAccessLevel
impl Copy for WildcardAccessLevel
impl Eq for WildcardAccessLevel
impl StructuralPartialEq for WildcardAccessLevel
Auto Trait Implementations§
impl Freeze for WildcardAccessLevel
impl RefUnwindSafe for WildcardAccessLevel
impl Send for WildcardAccessLevel
impl Sync for WildcardAccessLevel
impl Unpin for WildcardAccessLevel
impl UnwindSafe for WildcardAccessLevel
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:
None: 0 bytesRead: 0 bytesWrite: 0 bytes