pub struct LetBindingExtExt2 {
pub name: String,
pub ty: Option<String>,
pub value: String,
pub body: String,
}Expand description
A let binding in an expression.
Fields§
§name: StringName of the bound variable
ty: Option<String>Optional type annotation
value: StringThe value being bound
body: StringThe body of the let expression
Implementations§
Trait Implementations§
Source§impl Clone for LetBindingExtExt2
impl Clone for LetBindingExtExt2
Source§fn clone(&self) -> LetBindingExtExt2
fn clone(&self) -> LetBindingExtExt2
Returns a duplicate of the value. Read more
1.0.0 · 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 LetBindingExtExt2
impl RefUnwindSafe for LetBindingExtExt2
impl Send for LetBindingExtExt2
impl Sync for LetBindingExtExt2
impl Unpin for LetBindingExtExt2
impl UnsafeUnpin for LetBindingExtExt2
impl UnwindSafe for LetBindingExtExt2
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