pub struct Do {
pub bindings: Vec<(String, Expression, Expression)>,
pub conditions: Vec<(Expression, Vec<Expression>)>,
pub body: Vec<Expression>,
pub span: Range<usize>,
}Expand description
Do expression
Fields§
§bindings: Vec<(String, Expression, Expression)>Bindings
conditions: Vec<(Expression, Vec<Expression>)>Conditions
body: Vec<Expression>Body
span: Range<usize>Source span
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Do
impl<'de> Deserialize<'de> for Do
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
impl StructuralPartialEq for Do
Auto Trait Implementations§
impl Freeze for Do
impl RefUnwindSafe for Do
impl Send for Do
impl Sync for Do
impl Unpin for Do
impl UnsafeUnpin for Do
impl UnwindSafe for Do
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