pub enum PrintableAstNodeRef<'ast> {
Statement(Statement<'ast>),
Expression(Expression<'ast>),
Type(Type<'ast>),
}Variants§
Trait Implementations§
Source§impl<'ast> Clone for PrintableAstNodeRef<'ast>
impl<'ast> Clone for PrintableAstNodeRef<'ast>
Source§fn clone(&self) -> PrintableAstNodeRef<'ast>
fn clone(&self) -> PrintableAstNodeRef<'ast>
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 moreimpl<'ast> Copy for PrintableAstNodeRef<'ast>
Auto Trait Implementations§
impl<'ast> !Send for PrintableAstNodeRef<'ast>
impl<'ast> !Sync for PrintableAstNodeRef<'ast>
impl<'ast> Freeze for PrintableAstNodeRef<'ast>
impl<'ast> RefUnwindSafe for PrintableAstNodeRef<'ast>
impl<'ast> Unpin for PrintableAstNodeRef<'ast>
impl<'ast> UnsafeUnpin for PrintableAstNodeRef<'ast>
impl<'ast> UnwindSafe for PrintableAstNodeRef<'ast>
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