pub struct UnfrozenParamEntry {
pub name: ScopedName,
pub type_ann: TypeExpr,
pub default_expr: Option<Expr>,
pub span: Span,
pub src: BodySource,
}Expand description
A param declaration awaiting default lowering at UnfrozenIR::freeze.
Fields§
§name: ScopedName§type_ann: TypeExpr§default_expr: Option<Expr>§span: Span§src: BodySourceSource provenance of span; see BodySource (#868).
Trait Implementations§
Source§impl Clone for UnfrozenParamEntry
impl Clone for UnfrozenParamEntry
Source§fn clone(&self) -> UnfrozenParamEntry
fn clone(&self) -> UnfrozenParamEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for UnfrozenParamEntry
impl RefUnwindSafe for UnfrozenParamEntry
impl Send for UnfrozenParamEntry
impl Sync for UnfrozenParamEntry
impl Unpin for UnfrozenParamEntry
impl UnsafeUnpin for UnfrozenParamEntry
impl UnwindSafe for UnfrozenParamEntry
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