pub enum Declaration {
Show 18 variants
Accumulator(Box<Accumulator>),
CharacterMap(Box<CharacterMap>),
DecimalFormat(Box<DecimalFormat>),
Function(Box<Function>),
GlobalContextItem(Box<GlobalContextItem>),
Import(Box<Import>),
ImportSchema(Box<ImportSchema>),
Include(Box<Include>),
Key(Box<Key>),
Mode(Box<Mode>),
NamespaceAlias(Box<NamespaceAlias>),
Output(Box<Output>),
Param(Box<Param>),
PreserveSpace(Box<PreserveSpace>),
StripSpace(Box<StripSpace>),
Template(Box<Template>),
UsePackage(Box<UsePackage>),
Variable(Box<Variable>),
}Variants§
Accumulator(Box<Accumulator>)
CharacterMap(Box<CharacterMap>)
DecimalFormat(Box<DecimalFormat>)
Function(Box<Function>)
GlobalContextItem(Box<GlobalContextItem>)
Import(Box<Import>)
ImportSchema(Box<ImportSchema>)
Include(Box<Include>)
Key(Box<Key>)
Mode(Box<Mode>)
NamespaceAlias(Box<NamespaceAlias>)
Output(Box<Output>)
Param(Box<Param>)
PreserveSpace(Box<PreserveSpace>)
StripSpace(Box<StripSpace>)
Template(Box<Template>)
UsePackage(Box<UsePackage>)
Variable(Box<Variable>)
Trait Implementations§
Source§impl Clone for Declaration
impl Clone for Declaration
Source§fn clone(&self) -> Declaration
fn clone(&self) -> Declaration
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 Declaration
impl Debug for Declaration
Source§impl<'_enum> From<&'_enum Declaration> for DeclarationName
impl<'_enum> From<&'_enum Declaration> for DeclarationName
Source§fn from(val: &'_enum Declaration) -> DeclarationName
fn from(val: &'_enum Declaration) -> DeclarationName
Converts to this type from the input type.
Source§impl From<Accumulator> for Declaration
impl From<Accumulator> for Declaration
Source§fn from(i: Accumulator) -> Self
fn from(i: Accumulator) -> Self
Converts to this type from the input type.
Source§impl From<Declaration> for DeclarationName
impl From<Declaration> for DeclarationName
Source§fn from(val: Declaration) -> DeclarationName
fn from(val: Declaration) -> DeclarationName
Converts to this type from the input type.
Source§impl From<Template> for Declaration
impl From<Template> for Declaration
Source§impl IntoDiscriminant for Declaration
impl IntoDiscriminant for Declaration
Source§type Discriminant = DeclarationName
type Discriminant = DeclarationName
Enum listing the same variants as this enum but without any data fields
fn discriminant(&self) -> Self::Discriminant
Source§impl PartialEq for Declaration
impl PartialEq for Declaration
impl Eq for Declaration
impl StructuralPartialEq for Declaration
Auto Trait Implementations§
impl Freeze for Declaration
impl RefUnwindSafe for Declaration
impl Send for Declaration
impl Sync for Declaration
impl Unpin for Declaration
impl UnwindSafe for Declaration
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§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