Enum erg_compiler::context::DefaultInfo
source · pub enum DefaultInfo {
NonDefault,
WithDefault,
}
Variants§
Implementations§
source§impl DefaultInfo
impl DefaultInfo
pub const fn has_default(&self) -> bool
Trait Implementations§
source§impl Clone for DefaultInfo
impl Clone for DefaultInfo
source§fn clone(&self) -> DefaultInfo
fn clone(&self) -> DefaultInfo
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 DefaultInfo
impl Debug for DefaultInfo
source§impl Display for DefaultInfo
impl Display for DefaultInfo
source§impl Hash for DefaultInfo
impl Hash for DefaultInfo
source§impl PartialEq<DefaultInfo> for DefaultInfo
impl PartialEq<DefaultInfo> for DefaultInfo
source§fn eq(&self, other: &DefaultInfo) -> bool
fn eq(&self, other: &DefaultInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.