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 ==
.impl Copy for MakeFunctionFlags
impl Eq for MakeFunctionFlags
impl StructuralEq for MakeFunctionFlags
impl StructuralPartialEq for MakeFunctionFlags
Auto Trait Implementations§
impl RefUnwindSafe for MakeFunctionFlags
impl Send for MakeFunctionFlags
impl Sync for MakeFunctionFlags
impl Unpin for MakeFunctionFlags
impl UnwindSafe for MakeFunctionFlags
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