Struct std::alloc::LayoutErr 1.28.0[−][src]
pub struct LayoutErr { /* fields omitted */ }
The parameters given to Layout::from_size_align
or some other Layout
constructor
do not satisfy its documented constraints.
Trait Implementations
impl Debug for LayoutErr
[src]
impl Debug for LayoutErr
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<LayoutErr> for CollectionAllocErr
[src]
impl From<LayoutErr> for CollectionAllocErr
fn from(LayoutErr) -> CollectionAllocErr
[src]
fn from(LayoutErr) -> CollectionAllocErr
Performs the conversion.
impl Clone for LayoutErr
[src]
impl Clone for LayoutErr
fn clone(&self) -> LayoutErr
[src]
fn clone(&self) -> LayoutErr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for LayoutErr
[src]
impl Eq for LayoutErr
impl PartialEq<LayoutErr> for LayoutErr
[src]
impl PartialEq<LayoutErr> for LayoutErr
fn eq(&self, other: &LayoutErr) -> bool
[src]
fn eq(&self, other: &LayoutErr) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LayoutErr) -> bool
[src]
fn ne(&self, other: &LayoutErr) -> bool
This method tests for !=
.
impl Display for LayoutErr
[src]
impl Display for LayoutErr
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for LayoutErr
[src]
impl Error for LayoutErr