Enum modalkit::editing::cursor::CursorGroupCombineError
source · pub enum CursorGroupCombineError {
Empty(Register),
SizeMismatch(usize, usize),
}
Expand description
Errors returned when combining cursor groups.
Variants§
Empty(Register)
Empty cursor group.
SizeMismatch(usize, usize)
The cursors groups need to be the same size.
Trait Implementations§
source§impl Debug for CursorGroupCombineError
impl Debug for CursorGroupCombineError
source§impl Display for CursorGroupCombineError
impl Display for CursorGroupCombineError
source§impl Error for CursorGroupCombineError
impl Error for CursorGroupCombineError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl<I: ApplicationInfo> From<CursorGroupCombineError> for EditError<I>
impl<I: ApplicationInfo> From<CursorGroupCombineError> for EditError<I>
source§fn from(source: CursorGroupCombineError) -> Self
fn from(source: CursorGroupCombineError) -> Self
Converts to this type from the input type.
source§impl PartialEq for CursorGroupCombineError
impl PartialEq for CursorGroupCombineError
impl Eq for CursorGroupCombineError
impl StructuralPartialEq for CursorGroupCombineError
Auto Trait Implementations§
impl Freeze for CursorGroupCombineError
impl RefUnwindSafe for CursorGroupCombineError
impl Send for CursorGroupCombineError
impl Sync for CursorGroupCombineError
impl Unpin for CursorGroupCombineError
impl UnwindSafe for CursorGroupCombineError
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