pub struct LetBinding {
pub id: String,
pub value: Box<GrassIR>,
}Fields§
§id: StringThe symbol of the value
value: Box<GrassIR>The actual expression that assigned to this symbol
Trait Implementations§
Source§impl Clone for LetBinding
impl Clone for LetBinding
Source§fn clone(&self) -> LetBinding
fn clone(&self) -> LetBinding
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 moreSource§impl Debug for LetBinding
impl Debug for LetBinding
Source§impl<'de> Deserialize<'de> for LetBinding
impl<'de> Deserialize<'de> for LetBinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LetBinding
impl RefUnwindSafe for LetBinding
impl Send for LetBinding
impl Sync for LetBinding
impl Unpin for LetBinding
impl UnwindSafe for LetBinding
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