Struct valence_text::color::ColorError
source · pub struct ColorError;
Expand description
Color parsing error
Trait Implementations§
source§impl Clone for ColorError
impl Clone for ColorError
source§fn clone(&self) -> ColorError
fn clone(&self) -> ColorError
Returns a copy 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 ColorError
impl Debug for ColorError
source§impl Display for ColorError
impl Display for ColorError
source§impl Error for ColorError
impl Error for ColorError
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 Hash for ColorError
impl Hash for ColorError
source§impl Ord for ColorError
impl Ord for ColorError
source§fn cmp(&self, other: &ColorError) -> Ordering
fn cmp(&self, other: &ColorError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ColorError
impl PartialEq for ColorError
source§impl PartialOrd for ColorError
impl PartialOrd for ColorError
impl Copy for ColorError
impl Eq for ColorError
impl StructuralPartialEq for ColorError
Auto Trait Implementations§
impl Freeze for ColorError
impl RefUnwindSafe for ColorError
impl Send for ColorError
impl Sync for ColorError
impl Unpin for ColorError
impl UnwindSafe for ColorError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.