Struct alloc::alloc::LayoutError
1.50.0 · source · pub struct LayoutError;
Expand description
给 Layout::from_size_align
或其他 Layout
构造函数的参数不满足其记录的约束。
Trait Implementations§
source§impl Clone for LayoutError
impl Clone for LayoutError
source§fn clone(&self) -> LayoutError
fn clone(&self) -> LayoutError
返回值的副本。 Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source
执行复制分配。 Read moresource§impl Debug for LayoutError
impl Debug for LayoutError
1.28.0 · source§impl Display for LayoutError
impl Display for LayoutError
1.28.0 · source§impl Error for LayoutError
impl Error for LayoutError
source§impl From<LayoutError> for TryReserveErrorKind
impl From<LayoutError> for TryReserveErrorKind
source§fn from(_: LayoutError) -> Self
fn from(_: LayoutError) -> Self
source§impl PartialEq<LayoutError> for LayoutError
impl PartialEq<LayoutError> for LayoutError
impl Eq for LayoutError
impl StructuralEq for LayoutError
impl StructuralPartialEq for LayoutError
Auto Trait Implementations§
impl RefUnwindSafe for LayoutError
impl Send for LayoutError
impl Sync for LayoutError
impl Unpin for LayoutError
impl UnwindSafe for LayoutError
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
从拥有的值中借用。 Read more