Struct move_ir_types::ast::FunctionName
source · pub struct FunctionName(pub Symbol);
Expand description
Newtype for the name of a function
Tuple Fields§
§0: Symbol
Trait Implementations§
source§impl Clone for FunctionName
impl Clone for FunctionName
source§fn clone(&self) -> FunctionName
fn clone(&self) -> FunctionName
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 FunctionName
impl Debug for FunctionName
source§impl Display for FunctionName
impl Display for FunctionName
source§impl Hash for FunctionName
impl Hash for FunctionName
source§impl Ord for FunctionName
impl Ord for FunctionName
source§fn cmp(&self, other: &FunctionName) -> Ordering
fn cmp(&self, other: &FunctionName) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<FunctionName> for FunctionName
impl PartialEq<FunctionName> for FunctionName
source§fn eq(&self, other: &FunctionName) -> bool
fn eq(&self, other: &FunctionName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<FunctionName> for FunctionName
impl PartialOrd<FunctionName> for FunctionName
source§fn partial_cmp(&self, other: &FunctionName) -> Option<Ordering>
fn partial_cmp(&self, other: &FunctionName) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more