pub struct AlignmentFromStrError(/* private fields */);Expand description
Error raised when trying to parse an alignment string and it fails.
Trait Implementations§
Source§impl Clone for AlignmentFromStrError
impl Clone for AlignmentFromStrError
Source§fn clone(&self) -> AlignmentFromStrError
fn clone(&self) -> AlignmentFromStrError
Returns a duplicate of the value. Read more
1.0.0 · 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 AlignmentFromStrError
impl Debug for AlignmentFromStrError
Source§impl Display for AlignmentFromStrError
impl Display for AlignmentFromStrError
Source§impl Error for AlignmentFromStrError
impl Error for AlignmentFromStrError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for AlignmentFromStrError
Auto Trait Implementations§
impl Freeze for AlignmentFromStrError
impl RefUnwindSafe for AlignmentFromStrError
impl Send for AlignmentFromStrError
impl Sync for AlignmentFromStrError
impl Unpin for AlignmentFromStrError
impl UnwindSafe for AlignmentFromStrError
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