Struct colour::AlreadySet
source · pub struct AlreadySet;
Expand description
Error returned when forcing colour on or off, if it has already been initialised to a different value.
Trait Implementations§
source§impl Clone for AlreadySet
impl Clone for AlreadySet
source§fn clone(&self) -> AlreadySet
fn clone(&self) -> AlreadySet
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 AlreadySet
impl Debug for AlreadySet
source§impl Display for AlreadySet
impl Display for AlreadySet
source§impl Error for AlreadySet
impl Error for AlreadySet
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 AlreadySet
Auto Trait Implementations§
impl Freeze for AlreadySet
impl RefUnwindSafe for AlreadySet
impl Send for AlreadySet
impl Sync for AlreadySet
impl Unpin for AlreadySet
impl UnwindSafe for AlreadySet
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