pub struct QuantifiedSentence { /* private fields */ }
Expand description
Corresponds to the grammar rule quantified_sentence
.
Such a sentence may be either universally or existentially quantified.
Implementations§
Source§impl QuantifiedSentence
impl QuantifiedSentence
pub fn new<S>(binding: QuantifiedVariableBinding, body: S) -> Selfwhere
S: Into<ConstraintSentence>,
pub const fn binding(&self) -> &QuantifiedVariableBinding
pub fn set_binding(&mut self, binding: QuantifiedVariableBinding)
Trait Implementations§
Source§impl Clone for QuantifiedSentence
impl Clone for QuantifiedSentence
Source§fn clone(&self) -> QuantifiedSentence
fn clone(&self) -> QuantifiedSentence
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 QuantifiedSentence
impl Debug for QuantifiedSentence
Source§impl<'de> Deserialize<'de> for QuantifiedSentence
impl<'de> Deserialize<'de> for QuantifiedSentence
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
Source§impl From<&QuantifiedSentence> for ConstraintSentence
impl From<&QuantifiedSentence> for ConstraintSentence
Source§fn from(v: &QuantifiedSentence) -> Self
fn from(v: &QuantifiedSentence) -> Self
Converts to this type from the input type.
Source§impl From<QuantifiedSentence> for ConstraintSentence
impl From<QuantifiedSentence> for ConstraintSentence
Source§fn from(v: QuantifiedSentence) -> Self
fn from(v: QuantifiedSentence) -> Self
Converts to this type from the input type.
Source§impl From<QuantifiedSentence> for FunctionBody
impl From<QuantifiedSentence> for FunctionBody
Source§fn from(value: QuantifiedSentence) -> FunctionBody
fn from(value: QuantifiedSentence) -> FunctionBody
Converts to this type from the input type.
Source§impl HasBody for QuantifiedSentence
impl HasBody for QuantifiedSentence
Source§impl HasSourceSpan for QuantifiedSentence
impl HasSourceSpan for QuantifiedSentence
fn with_source_span(self, span: Span) -> Self
fn source_span(&self) -> Option<&Span>
fn set_source_span(&mut self, span: Span)
fn unset_source_span(&mut self)
fn has_source_span(&self) -> bool
Auto Trait Implementations§
impl Freeze for QuantifiedSentence
impl RefUnwindSafe for QuantifiedSentence
impl Send for QuantifiedSentence
impl Sync for QuantifiedSentence
impl Unpin for QuantifiedSentence
impl UnwindSafe for QuantifiedSentence
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