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