Struct LayoutError
struct LayoutError
The LayoutError is returned when the parameters given
to Layout::from_size_align
or some other Layout constructor
do not satisfy its documented constraints.
Implementations
impl Clone for LayoutError
fn clone(self: &Self) -> LayoutError
impl Debug for LayoutError
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Display for LayoutError
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Eq for LayoutError
impl Error for LayoutError
impl Freeze for LayoutError
impl PartialEq for LayoutError
fn eq(self: &Self, other: &LayoutError) -> bool
impl RefUnwindSafe for LayoutError
impl Send for LayoutError
impl StructuralPartialEq for LayoutError
impl Sync for LayoutError
impl Unpin for LayoutError
impl UnsafeUnpin for LayoutError
impl UnwindSafe for LayoutError
impl<T> Any for LayoutError
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for LayoutError
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for LayoutError
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for LayoutError
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for LayoutError
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for LayoutError
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for LayoutError
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for LayoutError
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>