pub enum AlignmentValueError {
Empty,
}Expand description
Error returned by alignment vocabulary constructors.
Variants§
Empty
The supplied value was empty after trimming surrounding whitespace.
Trait Implementations§
Source§impl Clone for AlignmentValueError
impl Clone for AlignmentValueError
Source§fn clone(&self) -> AlignmentValueError
fn clone(&self) -> AlignmentValueError
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 AlignmentValueError
impl Debug for AlignmentValueError
Source§impl Display for AlignmentValueError
impl Display for AlignmentValueError
Source§impl Error for AlignmentValueError
impl Error for AlignmentValueError
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()
Source§impl PartialEq for AlignmentValueError
impl PartialEq for AlignmentValueError
Source§fn eq(&self, other: &AlignmentValueError) -> bool
fn eq(&self, other: &AlignmentValueError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AlignmentValueError
impl Eq for AlignmentValueError
impl StructuralPartialEq for AlignmentValueError
Auto Trait Implementations§
impl Freeze for AlignmentValueError
impl RefUnwindSafe for AlignmentValueError
impl Send for AlignmentValueError
impl Sync for AlignmentValueError
impl Unpin for AlignmentValueError
impl UnsafeUnpin for AlignmentValueError
impl UnwindSafe for AlignmentValueError
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