pub struct ClassType<'a> {
pub base: SimpleClassType<'a>,
pub nested: Vec<SimpleClassType<'a>>,
}
Expand description
Represents (a possibly nested, and possible type-parameterized) class type.
base + nesting
together denote the ultimate path of the
described class. This is, the concatenation of base
and
nesting
represents the fully qualified class name with generic
type information interspresed where necessary. Put another way,
the last element of this concatenation denotes the simple name of
the described class.
base
alone represents the top-level class, while nesting
denotes the recursive nesting within it.
Fields§
§base: SimpleClassType<'a>
§nested: Vec<SimpleClassType<'a>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ClassType<'a>
impl<'a> RefUnwindSafe for ClassType<'a>
impl<'a> Send for ClassType<'a>
impl<'a> Sync for ClassType<'a>
impl<'a> Unpin for ClassType<'a>
impl<'a> UnwindSafe for ClassType<'a>
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