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