pub struct LetBindingExt {
pub name: String,
pub ty: Option<String>,
pub value: String,
pub body: String,
}Expand description
A let-binding surface expression.
Fields§
§name: StringVariable name
ty: Option<String>Optional type annotation
value: StringThe value expression (as string)
body: StringThe body expression (as string)
Implementations§
Trait Implementations§
Source§impl Clone for LetBindingExt
impl Clone for LetBindingExt
Source§fn clone(&self) -> LetBindingExt
fn clone(&self) -> LetBindingExt
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 LetBindingExt
impl RefUnwindSafe for LetBindingExt
impl Send for LetBindingExt
impl Sync for LetBindingExt
impl Unpin for LetBindingExt
impl UnsafeUnpin for LetBindingExt
impl UnwindSafe for LetBindingExt
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