Struct RawBoundsError
pub struct RawBoundsError<B>(/* private field */);
An error type that encodes information from an implementation of
Bounds.
The information encoded is used to write an error message in response to a value being out of bounds.
Implementations
impl<B> RawBoundsError<B>
const fn new() -> RawBoundsError<B>Create a new raw boundary error.
It is intended for
Bto implement theBoundstrait. But this constructor technically does not require it. However, theDebugandDisplayimpls on this type do require it.
Trait Implementations
impl<B> Clone for RawBoundsError<B>
fn clone(&self) -> RawBoundsError<B>
impl<B> Copy for RawBoundsError<B>
impl<B, P> Debug for RawBoundsError<B>
where
B: Bounds<Primitive = P>,
P: Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<B, P> Display for RawBoundsError<B>
where
B: Bounds<Primitive = P>,
P: Display,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<B: Eq> Eq for RawBoundsError<B>
impl<B: PartialEq> PartialEq for RawBoundsError<B>
fn eq(&self, other: &Self) -> bool