pub struct QuantifiedNode {
pub kind: QuantifierKind,
pub bindings: Vec<ForBinding>,
pub satisfies: AstNodeId,
pub span: SourceSpan,
}Expand description
Quantified expression (some/every $x in expr satisfies expr).
Fields§
§kind: QuantifierKindQuantifier kind (some or every).
bindings: Vec<ForBinding>List of variable bindings.
satisfies: AstNodeIdSatisfies expression.
span: SourceSpanSource location.
Implementations§
Source§impl QuantifiedNode
impl QuantifiedNode
pub fn new( kind: QuantifierKind, bindings: Vec<ForBinding>, satisfies: AstNodeId, span: SourceSpan, ) -> Self
Trait Implementations§
Source§impl Clone for QuantifiedNode
impl Clone for QuantifiedNode
Source§fn clone(&self) -> QuantifiedNode
fn clone(&self) -> QuantifiedNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QuantifiedNode
impl RefUnwindSafe for QuantifiedNode
impl Send for QuantifiedNode
impl Sync for QuantifiedNode
impl Unpin for QuantifiedNode
impl UnsafeUnpin for QuantifiedNode
impl UnwindSafe for QuantifiedNode
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