pub struct ClassSignature<'a> {
pub type_params: Vec<TypeParameter<'a>>,
pub super_class: ClassType<'a>,
pub super_ifaces: Vec<ClassType<'a>>,
}
Expand description
A parse class signature; encodes type information about a (possibly generic) class or interface declaration. It describes any type parameters of the class or interface, and lists its (possibly parameterized) direct superclass and direct superinterfaces, if any. A type parameter is described by its name, followed by any class bound and interface bounds.
See the specification for details.
Fields§
§type_params: Vec<TypeParameter<'a>>
§super_class: ClassType<'a>
§super_ifaces: Vec<ClassType<'a>>
Trait Implementations§
Source§impl<'a> Debug for ClassSignature<'a>
impl<'a> Debug for ClassSignature<'a>
Auto Trait Implementations§
impl<'a> Freeze for ClassSignature<'a>
impl<'a> RefUnwindSafe for ClassSignature<'a>
impl<'a> Send for ClassSignature<'a>
impl<'a> Sync for ClassSignature<'a>
impl<'a> Unpin for ClassSignature<'a>
impl<'a> UnwindSafe for ClassSignature<'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