Struct konst::slice::TryIntoArrayError
source · pub struct TryIntoArrayError { /* private fields */ }
Expand description
The error produced by trying to convert from
&[T]
to &[T; N]
, or from &mut [T]
to &mut [T; N]
.
Implementations§
Trait Implementations§
source§impl Clone for TryIntoArrayError
impl Clone for TryIntoArrayError
source§fn clone(&self) -> TryIntoArrayError
fn clone(&self) -> TryIntoArrayError
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 TryIntoArrayError
impl Debug for TryIntoArrayError
source§impl Display for TryIntoArrayError
impl Display for TryIntoArrayError
source§impl PartialEq for TryIntoArrayError
impl PartialEq for TryIntoArrayError
source§fn eq(&self, other: &TryIntoArrayError) -> bool
fn eq(&self, other: &TryIntoArrayError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TryIntoArrayError
impl Eq for TryIntoArrayError
impl StructuralPartialEq for TryIntoArrayError
Auto Trait Implementations§
impl Freeze for TryIntoArrayError
impl RefUnwindSafe for TryIntoArrayError
impl Send for TryIntoArrayError
impl Sync for TryIntoArrayError
impl Unpin for TryIntoArrayError
impl UnwindSafe for TryIntoArrayError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)