pub struct Test {
pub ident: String,
pub negated: bool,
pub name: String,
pub args: Vec<Expr>,
}Expand description
A test node if my_var is odd
Fields§
§ident: StringWhich variable is evaluated
negated: boolIs it using not?
name: StringName of the test
args: Vec<Expr>Any optional arg given to the test
Trait Implementations§
impl StructuralPartialEq for Test
Auto Trait Implementations§
impl Freeze for Test
impl RefUnwindSafe for Test
impl Send for Test
impl Sync for Test
impl Unpin for Test
impl UnwindSafe for Test
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