Enum rustc_borrowck::prefixes::PrefixSet
source · pub(crate) enum PrefixSet {
All,
Shallow,
Supporting,
}
Variants§
All
Doesn’t stop until it returns the base case (a Local or Static prefix).
Shallow
Stops at any dereference.
Supporting
Stops at the deref of a shared reference.
Trait Implementations§
source§impl PartialEq<PrefixSet> for PrefixSet
impl PartialEq<PrefixSet> for PrefixSet
impl Copy for PrefixSet
impl Eq for PrefixSet
impl StructuralEq for PrefixSet
impl StructuralPartialEq for PrefixSet
Auto Trait Implementations§
impl RefUnwindSafe for PrefixSet
impl Send for PrefixSet
impl Sync for PrefixSet
impl Unpin for PrefixSet
impl UnwindSafe for PrefixSet
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
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:
All
: 0 bytesShallow
: 0 bytesSupporting
: 0 bytes