Enum move_lang::typing::ast::BuiltinFunction_
source · pub enum BuiltinFunction_ {
MoveTo(Type),
MoveFrom(Type),
BorrowGlobal(bool, Type),
Exists(Type),
Freeze(Type),
Assert,
}
Variants§
Implementations§
source§impl BuiltinFunction_
impl BuiltinFunction_
pub fn display_name(&self) -> &'static str
Trait Implementations§
source§impl Clone for BuiltinFunction_
impl Clone for BuiltinFunction_
source§fn clone(&self) -> BuiltinFunction_
fn clone(&self) -> BuiltinFunction_
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 BuiltinFunction_
impl Debug for BuiltinFunction_
source§impl Display for BuiltinFunction_
impl Display for BuiltinFunction_
source§impl PartialEq<BuiltinFunction_> for BuiltinFunction_
impl PartialEq<BuiltinFunction_> for BuiltinFunction_
source§fn eq(&self, other: &BuiltinFunction_) -> bool
fn eq(&self, other: &BuiltinFunction_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.