pub struct Local {
pub attrs: Vec<Attribute>,
pub let_token: Let,
pub pat: Pat,
pub init: Option<LocalInit>,
pub semi_token: Semi,
}Expand description
A local let binding: let x: u64 = s.parse()?;.
Fields§
§attrs: Vec<Attribute>§let_token: Let§pat: Pat§init: Option<LocalInit>§semi_token: SemiAuto Trait Implementations§
impl Freeze for Local
impl RefUnwindSafe for Local
impl !Send for Local
impl !Sync for Local
impl Unpin for Local
impl UnwindSafe for Local
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