Enum erg_compiler::context::DefaultInfo
source · [−]pub enum DefaultInfo {
NonDefault,
WithDefault,
}
Variants
NonDefault
WithDefault
Implementations
sourceimpl DefaultInfo
impl DefaultInfo
pub const fn has_default(&self) -> bool
Trait Implementations
sourceimpl Clone for DefaultInfo
impl Clone for DefaultInfo
sourcefn clone(&self) -> DefaultInfo
fn clone(&self) -> DefaultInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DefaultInfo
impl Debug for DefaultInfo
sourceimpl Display for DefaultInfo
impl Display for DefaultInfo
sourceimpl Hash for DefaultInfo
impl Hash for DefaultInfo
sourceimpl PartialEq<DefaultInfo> for DefaultInfo
impl PartialEq<DefaultInfo> for DefaultInfo
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more