Enum fungi_lang::ast::PrimType [−][src]
pub enum PrimType { Nat, Bool, String, }
Primitive (value) types
Variants
Nat
Bool
String
Trait Implementations
impl Display for PrimType
[src]
impl Display for PrimType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PrimType
[src]
impl Clone for PrimType
fn clone(&self) -> PrimType
[src]
fn clone(&self) -> PrimType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PrimType
[src]
impl Debug for PrimType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for PrimType
[src]
impl Eq for PrimType
impl PartialEq for PrimType
[src]
impl PartialEq for PrimType
fn eq(&self, other: &PrimType) -> bool
[src]
fn eq(&self, other: &PrimType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Hash for PrimType
[src]
impl Hash for PrimType