Enum erg_compiler::ty::codeobj::MakeFunctionFlags
source · #[repr(u8)]
pub enum MakeFunctionFlags {
None,
Defaults,
KwDefaults,
Annotations,
Closure,
}
Variants§
Trait Implementations§
source§impl Clone for MakeFunctionFlags
impl Clone for MakeFunctionFlags
source§fn clone(&self) -> MakeFunctionFlags
fn clone(&self) -> MakeFunctionFlags
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 MakeFunctionFlags
impl Debug for MakeFunctionFlags
source§impl From<u8> for MakeFunctionFlags
impl From<u8> for MakeFunctionFlags
source§impl Hash for MakeFunctionFlags
impl Hash for MakeFunctionFlags
source§impl PartialEq<MakeFunctionFlags> for MakeFunctionFlags
impl PartialEq<MakeFunctionFlags> for MakeFunctionFlags
source§fn eq(&self, other: &MakeFunctionFlags) -> bool
fn eq(&self, other: &MakeFunctionFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.