Struct core::alloc::LayoutError
1.50.0 · source · [−]#[non_exhaustive]pub struct LayoutError;Expand description
The parameters given to Layout::from_size_align
or some other Layout constructor
do not satisfy its documented constraints.
Trait Implementations
impl Clone for LayoutError
source
impl Clone for LayoutError
sourcefn clone(&self) -> LayoutError
source
fn clone(&self) -> LayoutError
sourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0 · source
fn clone_from(&mut self, source: &Self)
1.0.0 · sourcePerforms copy-assignment from source. Read more
impl Debug for LayoutError
source
impl Debug for LayoutError
sourceimpl Display for LayoutError
1.28.0 · source
impl Display for LayoutError
1.28.0 · sourceimpl PartialEq<LayoutError> for LayoutError
source
impl PartialEq<LayoutError> for LayoutError
sourceimpl Eq for LayoutError
sourceimpl StructuralEq for LayoutError
sourceimpl StructuralPartialEq for LayoutError
sourceAuto Trait Implementations
impl RefUnwindSafe for LayoutError
impl Send for LayoutError
impl Sync for LayoutError
impl Unpin for LayoutError
impl UnwindSafe for LayoutError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
source
impl<T> BorrowMut<T> for T where
T: ?Sized,
sourcefn borrow_mut(&mut self) -> &mut T
const: unstable · source
fn borrow_mut(&mut self) -> &mut T
const: unstable · sourceMutably borrows from an owned value. Read more