Enum otter_base::zcoord::LogicError
source · [−]pub enum LogicError {
RangeTotallyUnbounded(TotallyUnboundedRange),
RangeImpossible(RangeImpossible),
}
Variants
RangeTotallyUnbounded(TotallyUnboundedRange)
RangeImpossible(RangeImpossible)
Trait Implementations
sourceimpl Clone for LogicError
impl Clone for LogicError
sourcefn clone(&self) -> LogicError
fn clone(&self) -> LogicError
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 LogicError
impl Debug for LogicError
sourceimpl<'de> Deserialize<'de> for LogicError
impl<'de> Deserialize<'de> for LogicError
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for LogicError
impl Display for LogicError
sourceimpl Error for LogicError
impl Error for LogicError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<RangeImpossible> for LogicError
impl From<RangeImpossible> for LogicError
sourcefn from(source: RangeImpossible) -> Self
fn from(source: RangeImpossible) -> Self
Converts to this type from the input type.
sourceimpl From<TotallyUnboundedRange> for LogicError
impl From<TotallyUnboundedRange> for LogicError
sourcefn from(source: TotallyUnboundedRange) -> Self
fn from(source: TotallyUnboundedRange) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<LogicError> for LogicError
impl PartialEq<LogicError> for LogicError
sourcefn eq(&self, other: &LogicError) -> bool
fn eq(&self, other: &LogicError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LogicError) -> bool
fn ne(&self, other: &LogicError) -> bool
This method tests for !=
.
sourceimpl Serialize for LogicError
impl Serialize for LogicError
impl Copy for LogicError
impl Eq for LogicError
impl StructuralEq for LogicError
impl StructuralPartialEq for LogicError
Auto Trait Implementations
impl RefUnwindSafe for LogicError
impl Send for LogicError
impl Sync for LogicError
impl Unpin for LogicError
impl UnwindSafe for LogicError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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