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
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
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