Struct HirParam
pub struct HirParam {
pub name: String,
pub name_span: SourceSpan,
pub ty: HirType,
}Expand description
Function parameter lowered into HIR form.
Fields§
§name: StringUser-visible item name.
name_span: SourceSpanSource span covering the parameter name token.
ty: HirTypeLowered type assigned to the parameter.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HirParam
impl RefUnwindSafe for HirParam
impl Send for HirParam
impl Sync for HirParam
impl Unpin for HirParam
impl UnwindSafe for HirParam
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