pub struct PreDefinedColour {
pub name: String,
}Fields§
§name: StringTrait Implementations§
Source§impl Clone for PreDefinedColour
impl Clone for PreDefinedColour
Source§fn clone(&self) -> PreDefinedColour
fn clone(&self) -> PreDefinedColour
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 PreDefinedColour
impl Debug for PreDefinedColour
Source§impl PartialEq for PreDefinedColour
impl PartialEq for PreDefinedColour
Source§fn eq(&self, other: &PreDefinedColour) -> bool
fn eq(&self, other: &PreDefinedColour) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PreDefinedColour
Auto Trait Implementations§
impl Freeze for PreDefinedColour
impl RefUnwindSafe for PreDefinedColour
impl Send for PreDefinedColour
impl Sync for PreDefinedColour
impl Unpin for PreDefinedColour
impl UnsafeUnpin for PreDefinedColour
impl UnwindSafe for PreDefinedColour
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