pub enum SetTextRangeError {
InvalidState(InvalidStateError),
InvalidRange(RangeError),
}Variants§
InvalidState(InvalidStateError)
InvalidRange(RangeError)
Trait Implementations§
Source§impl Clone for SetTextRangeError
impl Clone for SetTextRangeError
Source§fn clone(&self) -> SetTextRangeError
fn clone(&self) -> SetTextRangeError
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 SetTextRangeError
impl Debug for SetTextRangeError
Source§impl From<InvalidStateError> for SetTextRangeError
impl From<InvalidStateError> for SetTextRangeError
Source§fn from(err: InvalidStateError) -> Self
fn from(err: InvalidStateError) -> Self
Converts to this type from the input type.
Source§impl From<RangeError> for SetTextRangeError
impl From<RangeError> for SetTextRangeError
Source§fn from(err: RangeError) -> Self
fn from(err: RangeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetTextRangeError
impl PartialEq for SetTextRangeError
impl StructuralPartialEq for SetTextRangeError
Auto Trait Implementations§
impl Freeze for SetTextRangeError
impl RefUnwindSafe for SetTextRangeError
impl !Send for SetTextRangeError
impl !Sync for SetTextRangeError
impl Unpin for SetTextRangeError
impl UnwindSafe for SetTextRangeError
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