Struct visioncortex::color_clusters::ClusterIndex
source · pub struct ClusterIndex(pub ClusterIndexElem);
Tuple Fields§
§0: ClusterIndexElem
Trait Implementations§
source§impl Clone for ClusterIndex
impl Clone for ClusterIndex
source§fn clone(&self) -> ClusterIndex
fn clone(&self) -> ClusterIndex
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 Default for ClusterIndex
impl Default for ClusterIndex
source§fn default() -> ClusterIndex
fn default() -> ClusterIndex
Returns the “default value” for a type. Read more
source§impl Hash for ClusterIndex
impl Hash for ClusterIndex
source§impl Ord for ClusterIndex
impl Ord for ClusterIndex
source§fn cmp(&self, other: &ClusterIndex) -> Ordering
fn cmp(&self, other: &ClusterIndex) -> 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 ClusterIndex
impl PartialEq for ClusterIndex
source§fn eq(&self, other: &ClusterIndex) -> bool
fn eq(&self, other: &ClusterIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ClusterIndex
impl PartialOrd for ClusterIndex
source§fn partial_cmp(&self, other: &ClusterIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &ClusterIndex) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ClusterIndex
impl Eq for ClusterIndex
impl StructuralPartialEq for ClusterIndex
Auto Trait Implementations§
impl Freeze for ClusterIndex
impl RefUnwindSafe for ClusterIndex
impl Send for ClusterIndex
impl Sync for ClusterIndex
impl Unpin for ClusterIndex
impl UnwindSafe for ClusterIndex
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