Enum tendril::SubtendrilError
source · pub enum SubtendrilError {
OutOfBounds,
ValidationFailed,
}
Expand description
Errors that can occur when slicing a Tendril
.
Variants§
Trait Implementations§
source§impl Clone for SubtendrilError
impl Clone for SubtendrilError
source§fn clone(&self) -> SubtendrilError
fn clone(&self) -> SubtendrilError
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 SubtendrilError
impl Debug for SubtendrilError
source§impl Hash for SubtendrilError
impl Hash for SubtendrilError
source§impl PartialEq for SubtendrilError
impl PartialEq for SubtendrilError
source§fn eq(&self, other: &SubtendrilError) -> bool
fn eq(&self, other: &SubtendrilError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SubtendrilError
impl Eq for SubtendrilError
impl StructuralPartialEq for SubtendrilError
Auto Trait Implementations§
impl Freeze for SubtendrilError
impl RefUnwindSafe for SubtendrilError
impl Send for SubtendrilError
impl Sync for SubtendrilError
impl Unpin for SubtendrilError
impl UnwindSafe for SubtendrilError
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