pub struct EmptyRangeError;Expand description
Error returned when attempting to convert an empty or reversed
Range into a closed-open interval.
Trait Implementations§
Source§impl Clone for EmptyRangeError
impl Clone for EmptyRangeError
Source§fn clone(&self) -> EmptyRangeError
fn clone(&self) -> EmptyRangeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EmptyRangeError
Source§impl Debug for EmptyRangeError
impl Debug for EmptyRangeError
Source§impl Default for EmptyRangeError
impl Default for EmptyRangeError
Source§fn default() -> EmptyRangeError
fn default() -> EmptyRangeError
Returns the “default value” for a type. Read more
Source§impl Display for EmptyRangeError
impl Display for EmptyRangeError
impl Eq for EmptyRangeError
Source§impl Hash for EmptyRangeError
impl Hash for EmptyRangeError
Source§impl PartialEq for EmptyRangeError
impl PartialEq for EmptyRangeError
Source§fn eq(&self, other: &EmptyRangeError) -> bool
fn eq(&self, other: &EmptyRangeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EmptyRangeError
Auto Trait Implementations§
impl Freeze for EmptyRangeError
impl RefUnwindSafe for EmptyRangeError
impl Send for EmptyRangeError
impl Sync for EmptyRangeError
impl Unpin for EmptyRangeError
impl UnsafeUnpin for EmptyRangeError
impl UnwindSafe for EmptyRangeError
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