pub struct TypeItem<'tree> {
pub span: Span,
pub name: TypeIdentifier<'tree>,
pub type: Type<'tree>,
pub type_parameters: Option<TypeParameters<'tree>>,
pub children: Vec<TypeItemChildren<'tree>>,
}Fields§
§span: Span§name: TypeIdentifier<'tree>§type: Type<'tree>§type_parameters: Option<TypeParameters<'tree>>§children: Vec<TypeItemChildren<'tree>>Trait Implementations§
Auto Trait Implementations§
impl<'tree> Freeze for TypeItem<'tree>
impl<'tree> RefUnwindSafe for TypeItem<'tree>
impl<'tree> Send for TypeItem<'tree>
impl<'tree> Sync for TypeItem<'tree>
impl<'tree> Unpin for TypeItem<'tree>
impl<'tree> UnsafeUnpin for TypeItem<'tree>
impl<'tree> UnwindSafe for TypeItem<'tree>
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