pub struct ColorMetadata(/* private fields */);Expand description
The color metadata in the COLOR PALETTE section of a wif. We only care about the range for the rgb values.
Trait Implementations§
Source§impl Clone for ColorMetadata
impl Clone for ColorMetadata
Source§fn clone(&self) -> ColorMetadata
fn clone(&self) -> ColorMetadata
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 ColorMetadata
impl Debug for ColorMetadata
impl Eq for ColorMetadata
Source§impl PartialEq for ColorMetadata
impl PartialEq for ColorMetadata
impl StructuralPartialEq for ColorMetadata
Source§impl WifParseable for ColorMetadata
impl WifParseable for ColorMetadata
Auto Trait Implementations§
impl Freeze for ColorMetadata
impl RefUnwindSafe for ColorMetadata
impl Send for ColorMetadata
impl Sync for ColorMetadata
impl Unpin for ColorMetadata
impl UnsafeUnpin for ColorMetadata
impl UnwindSafe for ColorMetadata
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.