pub enum DataDeclaration {
Variable(Box<DataDeclarationVariable>),
TypeDeclaration(Box<TypeDeclaration>),
PackageImportDeclaration(Box<PackageImportDeclaration>),
NetTypeDeclaration(Box<NetTypeDeclaration>),
}
Variants§
Variable(Box<DataDeclarationVariable>)
TypeDeclaration(Box<TypeDeclaration>)
PackageImportDeclaration(Box<PackageImportDeclaration>)
NetTypeDeclaration(Box<NetTypeDeclaration>)
Trait Implementations§
source§impl Clone for DataDeclaration
impl Clone for DataDeclaration
source§fn clone(&self) -> DataDeclaration
fn clone(&self) -> DataDeclaration
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 DataDeclaration
impl Debug for DataDeclaration
source§impl<'a> From<&'a DataDeclaration> for RefNode<'a>
impl<'a> From<&'a DataDeclaration> for RefNode<'a>
source§fn from(x: &'a DataDeclaration) -> Self
fn from(x: &'a DataDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a DataDeclaration> for RefNodes<'a>
impl<'a> From<&'a DataDeclaration> for RefNodes<'a>
source§fn from(x: &'a DataDeclaration) -> Self
fn from(x: &'a DataDeclaration) -> Self
Converts to this type from the input type.
source§impl From<DataDeclaration> for AnyNode
impl From<DataDeclaration> for AnyNode
source§fn from(x: DataDeclaration) -> Self
fn from(x: DataDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a DataDeclaration
impl<'a> IntoIterator for &'a DataDeclaration
source§impl PartialEq for DataDeclaration
impl PartialEq for DataDeclaration
source§fn eq(&self, other: &DataDeclaration) -> bool
fn eq(&self, other: &DataDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a DataDeclaration> for Locate
impl<'a> TryFrom<&'a DataDeclaration> for Locate
source§impl TryFrom<AnyNode> for DataDeclaration
impl TryFrom<AnyNode> for DataDeclaration
source§impl TryFrom<DataDeclaration> for Locate
impl TryFrom<DataDeclaration> for Locate
impl StructuralPartialEq for DataDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for DataDeclaration
impl Send for DataDeclaration
impl Sync for DataDeclaration
impl Unpin for DataDeclaration
impl UnwindSafe for DataDeclaration
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