pub enum RibbonError {
InvalidPoint,
InvalidCapacity,
InvalidView,
Full,
}Variants§
InvalidPoint
A point has non-finite components or a width outside 0..=MAX_RIBBON_WIDTH.
InvalidCapacity
InvalidView
Full
Trait Implementations§
Source§impl Clone for RibbonError
impl Clone for RibbonError
Source§fn clone(&self) -> RibbonError
fn clone(&self) -> RibbonError
Returns a duplicate 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 RibbonError
impl Debug for RibbonError
Source§impl From<RibbonError> for EffectError
impl From<RibbonError> for EffectError
Source§fn from(error: RibbonError) -> EffectError
fn from(error: RibbonError) -> EffectError
Converts to this type from the input type.
Source§impl PartialEq for RibbonError
impl PartialEq for RibbonError
impl Copy for RibbonError
impl Eq for RibbonError
impl StructuralPartialEq for RibbonError
Auto Trait Implementations§
impl Freeze for RibbonError
impl RefUnwindSafe for RibbonError
impl Send for RibbonError
impl Sync for RibbonError
impl Unpin for RibbonError
impl UnwindSafe for RibbonError
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