Enum erg_compiler::module::graph::IncRefError
source · pub enum IncRefError {
CycleDetected,
}
Variants§
CycleDetected
Implementations§
source§impl IncRefError
impl IncRefError
pub const fn is_cycle_detected(&self) -> bool
Trait Implementations§
source§impl Clone for IncRefError
impl Clone for IncRefError
source§fn clone(&self) -> IncRefError
fn clone(&self) -> IncRefError
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 IncRefError
impl Debug for IncRefError
source§impl Hash for IncRefError
impl Hash for IncRefError
source§impl PartialEq for IncRefError
impl PartialEq for IncRefError
source§fn eq(&self, other: &IncRefError) -> bool
fn eq(&self, other: &IncRefError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IncRefError
impl Eq for IncRefError
impl StructuralPartialEq for IncRefError
Auto Trait Implementations§
impl RefUnwindSafe for IncRefError
impl Send for IncRefError
impl Sync for IncRefError
impl Unpin for IncRefError
impl UnwindSafe for IncRefError
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