pub enum FuncTypeRef<'a> {
Func(FuncType<'a>),
Ident(Ident<'a>),
}
Expand description
Represents a function type reference in the AST.
Variants§
Func(FuncType<'a>)
The reference is a function type.
Ident(Ident<'a>)
The reference is an identifier to a function type.
Trait Implementations§
Source§impl<'a> Clone for FuncTypeRef<'a>
impl<'a> Clone for FuncTypeRef<'a>
Source§fn clone(&self) -> FuncTypeRef<'a>
fn clone(&self) -> FuncTypeRef<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for FuncTypeRef<'a>
impl<'a> Debug for FuncTypeRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for FuncTypeRef<'a>
impl<'a> RefUnwindSafe for FuncTypeRef<'a>
impl<'a> Send for FuncTypeRef<'a>
impl<'a> Sync for FuncTypeRef<'a>
impl<'a> Unpin for FuncTypeRef<'a>
impl<'a> UnwindSafe for FuncTypeRef<'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