pub struct ColormapColorIndex(/* private fields */);Expand description
Zero-based color entry inside the active or selected colormap.
Implementations§
Trait Implementations§
Source§impl Clone for ColormapColorIndex
impl Clone for ColormapColorIndex
Source§fn clone(&self) -> ColormapColorIndex
fn clone(&self) -> ColormapColorIndex
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 ColormapColorIndex
impl Debug for ColormapColorIndex
Source§impl From<usize> for ColormapColorIndex
impl From<usize> for ColormapColorIndex
Source§impl Hash for ColormapColorIndex
impl Hash for ColormapColorIndex
Source§impl Ord for ColormapColorIndex
impl Ord for ColormapColorIndex
Source§fn cmp(&self, other: &ColormapColorIndex) -> Ordering
fn cmp(&self, other: &ColormapColorIndex) -> Ordering
1.21.0 (const: unstable) · 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 ColormapColorIndex
impl PartialEq for ColormapColorIndex
Source§fn eq(&self, other: &ColormapColorIndex) -> bool
fn eq(&self, other: &ColormapColorIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ColormapColorIndex
impl PartialOrd for ColormapColorIndex
impl Copy for ColormapColorIndex
impl Eq for ColormapColorIndex
impl StructuralPartialEq for ColormapColorIndex
Auto Trait Implementations§
impl Freeze for ColormapColorIndex
impl RefUnwindSafe for ColormapColorIndex
impl Send for ColormapColorIndex
impl Sync for ColormapColorIndex
impl Unpin for ColormapColorIndex
impl UnsafeUnpin for ColormapColorIndex
impl UnwindSafe for ColormapColorIndex
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