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