pub struct FunctionArgument<'a> {
pub name: Ident<'a>,
pub ty: Handle<Type<'a>>,
pub binding: Option<Binding<'a>>,
pub handle: Handle<Local>,
}
Fields§
§name: Ident<'a>
§ty: Handle<Type<'a>>
§binding: Option<Binding<'a>>
§handle: Handle<Local>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FunctionArgument<'a>
impl<'a> RefUnwindSafe for FunctionArgument<'a>
impl<'a> Send for FunctionArgument<'a>
impl<'a> Sync for FunctionArgument<'a>
impl<'a> Unpin for FunctionArgument<'a>
impl<'a> UnwindSafe for FunctionArgument<'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