pub struct OutOfBound;Expand description
Error raised when a projection is attempted on an array or slice out of bounds.
Trait Implementations§
Source§impl From<OutOfBound> for Error
impl From<OutOfBound> for Error
Source§fn from(_: OutOfBound) -> Self
fn from(_: OutOfBound) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OutOfBound
impl RefUnwindSafe for OutOfBound
impl Send for OutOfBound
impl Sync for OutOfBound
impl Unpin for OutOfBound
impl UnsafeUnpin for OutOfBound
impl UnwindSafe for OutOfBound
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.