pub struct ResolvedParamEntry {
pub name: String,
pub default_expr: Option<Expr>,
pub span: Span,
}Expand description
A resolved param declaration (before type annotation is added).
Fields§
§name: String§default_expr: Option<Expr>§span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedParamEntry
impl RefUnwindSafe for ResolvedParamEntry
impl Send for ResolvedParamEntry
impl Sync for ResolvedParamEntry
impl Unpin for ResolvedParamEntry
impl UnsafeUnpin for ResolvedParamEntry
impl UnwindSafe for ResolvedParamEntry
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