pub struct ParamSig {
pub name: String,
pub mode: OwnershipMode,
pub ty: Ty,
pub mutated_in_body: bool,
}Expand description
Checked parameter signature used for call validation and lowering.
Fields§
§name: StringParameter name in source order.
mode: OwnershipModeOwnership mode declared for the parameter.
ty: TyResolved semantic type of the parameter.
mutated_in_body: boolWhether the parameter is mutated by the function body.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParamSig
impl RefUnwindSafe for ParamSig
impl Send for ParamSig
impl Sync for ParamSig
impl Unpin for ParamSig
impl UnwindSafe for ParamSig
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