pub enum Because {
Concatenated,
FromData,
NotFollowed,
}Expand description
Why a class expression could not be enumerated.
Three, and they are distinguished because a reader does something different about each: the first is a rewrite the language already invites, the second is a design question about where the name comes from, and the third is a limit of this analysis rather than of the program.
Variants§
Concatenated
A string built with +, so the name exists only at run time.
FromData
A value computed rather than named — a field, a parameter, a lookup, a call to a primitive.
NotFollowed
A shape this analysis does not enter: a call through a value, a let-bound name, a
definition deeper than the analysis follows.
Implementations§
Trait Implementations§
impl Copy for Because
impl Eq for Because
impl StructuralPartialEq for Because
Auto Trait Implementations§
impl Freeze for Because
impl RefUnwindSafe for Because
impl Send for Because
impl Sync for Because
impl Unpin for Because
impl UnwindSafe for Because
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