Type Alias alloc::alloc::LayoutErr

1.28.0 · source ·
pub type LayoutErr = LayoutError;
👎Deprecated since 1.52.0: Name does not follow std convention, use LayoutError

Aliased Type§

struct LayoutErr;

Trait Implementations§

1.50.0 · source§

impl Clone for LayoutError

source§

fn clone(&self) -> LayoutError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
1.50.0 · source§

impl Debug for LayoutError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Display for LayoutError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Error for LayoutError

1.30.0 · source§

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

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access #99301)
Provides type based access to context intended for error reports. Read more
1.50.0 · source§

impl PartialEq<LayoutError> for LayoutError

source§

fn eq(&self, other: &LayoutError) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.50.0 · source§

impl Eq for LayoutError

1.50.0 · source§

impl StructuralEq for LayoutError

1.50.0 · source§

impl StructuralPartialEq for LayoutError