pub enum FunctionParameter {
Parameter {
span: Span,
index: usize,
template: ObjectRef,
class: ClassRef,
obj_id: MirObjectId,
},
Generic {
span: Span,
index: usize,
class: ClassRef,
obj_id: MirObjectId,
},
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for FunctionParameter
impl Clone for FunctionParameter
source§fn clone(&self) -> FunctionParameter
fn clone(&self) -> FunctionParameter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for FunctionParameter
impl !Send for FunctionParameter
impl !Sync for FunctionParameter
impl Unpin for FunctionParameter
impl !UnwindSafe for FunctionParameter
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