Struct vec1::Size0Error
source · pub struct Size0Error;
Expand description
Error returned by operations which would cause Vec1
to have a length of 0.
Trait Implementations§
source§impl Clone for Size0Error
impl Clone for Size0Error
source§fn clone(&self) -> Size0Error
fn clone(&self) -> Size0Error
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 Size0Error
impl Debug for Size0Error
source§impl Display for Size0Error
impl Display for Size0Error
source§impl Error for Size0Error
Available on crate feature std
only.
impl Error for Size0Error
Available on crate feature
std
only.1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 Hash for Size0Error
impl Hash for Size0Error
source§impl PartialEq for Size0Error
impl PartialEq for Size0Error
source§fn eq(&self, other: &Size0Error) -> bool
fn eq(&self, other: &Size0Error) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Size0Error
impl Eq for Size0Error
impl StructuralPartialEq for Size0Error
Auto Trait Implementations§
impl Freeze for Size0Error
impl RefUnwindSafe for Size0Error
impl Send for Size0Error
impl Sync for Size0Error
impl Unpin for Size0Error
impl UnwindSafe for Size0Error
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