pub enum DefinitionStatement {
SingleQuotedDef(String),
DoubleDollarDef(String),
}
Variants§
Trait Implementations§
source§impl Clone for DefinitionStatement
impl Clone for DefinitionStatement
source§fn clone(&self) -> DefinitionStatement
fn clone(&self) -> DefinitionStatement
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 DefinitionStatement
impl Debug for DefinitionStatement
source§impl From<FunctionDefinition> for DefinitionStatement
impl From<FunctionDefinition> for DefinitionStatement
source§fn from(value: FunctionDefinition) -> DefinitionStatement
fn from(value: FunctionDefinition) -> DefinitionStatement
Converts to this type from the input type.
source§impl Hash for DefinitionStatement
impl Hash for DefinitionStatement
source§impl PartialEq for DefinitionStatement
impl PartialEq for DefinitionStatement
source§fn eq(&self, other: &DefinitionStatement) -> bool
fn eq(&self, other: &DefinitionStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DefinitionStatement
impl StructuralPartialEq for DefinitionStatement
Auto Trait Implementations§
impl Freeze for DefinitionStatement
impl RefUnwindSafe for DefinitionStatement
impl Send for DefinitionStatement
impl Sync for DefinitionStatement
impl Unpin for DefinitionStatement
impl UnwindSafe for DefinitionStatement
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more