#[non_exhaustive]pub struct AndNode {
pub children: Vec<Expression>,
/* private fields */
}Expand description
A node representing the logical conjunction of two or more expressions
E.g. A .AND. B
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.children: Vec<Expression>The expressions that are and-ed together
Implementations§
Trait Implementations§
Source§impl From<AndNode> for Expression
impl From<AndNode> for Expression
Source§fn from(node: AndNode) -> Expression
fn from(node: AndNode) -> Expression
Converts to this type from the input type.
Source§impl<T> From<T> for AndNodewhere
T: Expressions,
impl<T> From<T> for AndNodewhere
T: Expressions,
impl Eq for AndNode
impl StructuralPartialEq for AndNode
Auto Trait Implementations§
impl Freeze for AndNode
impl RefUnwindSafe for AndNode
impl Send for AndNode
impl Sync for AndNode
impl Unpin for AndNode
impl UnsafeUnpin for AndNode
impl UnwindSafe for AndNode
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