pub struct QuantifiedVariable { /* private fields */ }
Expand description
Corresponds to the grammar rule quantified_variable
.
A QuantifiedVariable
is a name and source pair.
Implementations§
Trait Implementations§
source§impl Clone for QuantifiedVariable
impl Clone for QuantifiedVariable
source§fn clone(&self) -> QuantifiedVariable
fn clone(&self) -> QuantifiedVariable
Returns a copy 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 QuantifiedVariable
impl Debug for QuantifiedVariable
source§impl<'de> Deserialize<'de> for QuantifiedVariable
impl<'de> Deserialize<'de> for QuantifiedVariable
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 HasName for QuantifiedVariable
impl HasName for QuantifiedVariable
source§fn name(&self) -> &Identifier
fn name(&self) -> &Identifier
Get the name of the enclosing type.
source§fn set_name(&mut self, name: Identifier)
fn set_name(&mut self, name: Identifier)
Set the name of the enclosing type.
source§impl HasSourceSpan for QuantifiedVariable
impl HasSourceSpan for QuantifiedVariable
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 QuantifiedVariable
impl RefUnwindSafe for QuantifiedVariable
impl Send for QuantifiedVariable
impl Sync for QuantifiedVariable
impl Unpin for QuantifiedVariable
impl UnwindSafe for QuantifiedVariable
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)