pub enum NestedKind {
Member,
Anonymous,
Local,
Lambda,
}Expand description
How a nested class was classified.
Variants§
Member
Declared as a member of its outer class.
Anonymous
An anonymous class: inlined at its new site, never printed separately.
Local
A local class: declared at its use site inside a method.
Lambda
A lambda implementation class: skipped entirely.
Trait Implementations§
Source§impl Clone for NestedKind
impl Clone for NestedKind
impl Copy for NestedKind
Source§impl Debug for NestedKind
impl Debug for NestedKind
impl Eq for NestedKind
Source§impl PartialEq for NestedKind
impl PartialEq for NestedKind
impl StructuralPartialEq for NestedKind
Auto Trait Implementations§
impl Freeze for NestedKind
impl RefUnwindSafe for NestedKind
impl Send for NestedKind
impl Sync for NestedKind
impl Unpin for NestedKind
impl UnsafeUnpin for NestedKind
impl UnwindSafe for NestedKind
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