pub struct MappedTypeClause<'tree> {
pub span: Span,
pub alias: Option<Type<'tree>>,
pub name: TypeIdentifier<'tree>,
pub type: Type<'tree>,
}Fields§
§span: Span§alias: Option<Type<'tree>>§name: TypeIdentifier<'tree>§type: Type<'tree>Trait Implementations§
Source§impl<'tree> Clone for MappedTypeClause<'tree>
impl<'tree> Clone for MappedTypeClause<'tree>
Source§fn clone(&self) -> MappedTypeClause<'tree>
fn clone(&self) -> MappedTypeClause<'tree>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for MappedTypeClause<'tree>
impl<'tree> Debug for MappedTypeClause<'tree>
impl<'tree> Eq for MappedTypeClause<'tree>
Source§impl<'tree> FromNode<'tree> for MappedTypeClause<'tree>
impl<'tree> FromNode<'tree> for MappedTypeClause<'tree>
Source§impl<'tree> PartialEq for MappedTypeClause<'tree>
impl<'tree> PartialEq for MappedTypeClause<'tree>
Source§impl Spanned for MappedTypeClause<'_>
impl Spanned for MappedTypeClause<'_>
impl<'tree> StructuralPartialEq for MappedTypeClause<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for MappedTypeClause<'tree>
impl<'tree> RefUnwindSafe for MappedTypeClause<'tree>
impl<'tree> Send for MappedTypeClause<'tree>
impl<'tree> Sync for MappedTypeClause<'tree>
impl<'tree> Unpin for MappedTypeClause<'tree>
impl<'tree> UnsafeUnpin for MappedTypeClause<'tree>
impl<'tree> UnwindSafe for MappedTypeClause<'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