#[repr(C, u8)]pub enum LayoutZIndexParseErrorOwned {
InvalidValue(AzString),
ParseInt(ParseIntErrorWithInput),
}Variants§
InvalidValue(AzString)
ParseInt(ParseIntErrorWithInput)
Implementations§
Source§impl LayoutZIndexParseErrorOwned
impl LayoutZIndexParseErrorOwned
Converts back to the borrowed error type.
Note: This conversion is lossy for ParseInt — the original
core::num::ParseIntError cannot be reconstructed from its string
representation, so ParseInt is mapped to InvalidValue instead.
Trait Implementations§
Source§impl Clone for LayoutZIndexParseErrorOwned
impl Clone for LayoutZIndexParseErrorOwned
Source§fn clone(&self) -> LayoutZIndexParseErrorOwned
fn clone(&self) -> LayoutZIndexParseErrorOwned
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutZIndexParseErrorOwned
impl Debug for LayoutZIndexParseErrorOwned
Source§impl PartialEq for LayoutZIndexParseErrorOwned
impl PartialEq for LayoutZIndexParseErrorOwned
Source§fn eq(&self, other: &LayoutZIndexParseErrorOwned) -> bool
fn eq(&self, other: &LayoutZIndexParseErrorOwned) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LayoutZIndexParseErrorOwned
Auto Trait Implementations§
impl Freeze for LayoutZIndexParseErrorOwned
impl RefUnwindSafe for LayoutZIndexParseErrorOwned
impl Send for LayoutZIndexParseErrorOwned
impl Sync for LayoutZIndexParseErrorOwned
impl Unpin for LayoutZIndexParseErrorOwned
impl UnsafeUnpin for LayoutZIndexParseErrorOwned
impl UnwindSafe for LayoutZIndexParseErrorOwned
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
Mutably borrows from an owned value. Read more