Enum cosmic_text::SubpixelBin
source · pub enum SubpixelBin {
Zero,
One,
Two,
Three,
}
Expand description
Binning of subpixel position for cache optimization
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SubpixelBin
impl Clone for SubpixelBin
source§fn clone(&self) -> SubpixelBin
fn clone(&self) -> SubpixelBin
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 SubpixelBin
impl Debug for SubpixelBin
source§impl Hash for SubpixelBin
impl Hash for SubpixelBin
source§impl Ord for SubpixelBin
impl Ord for SubpixelBin
source§fn cmp(&self, other: &SubpixelBin) -> Ordering
fn cmp(&self, other: &SubpixelBin) -> 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<SubpixelBin> for SubpixelBin
impl PartialEq<SubpixelBin> for SubpixelBin
source§fn eq(&self, other: &SubpixelBin) -> bool
fn eq(&self, other: &SubpixelBin) -> bool
source§impl PartialOrd<SubpixelBin> for SubpixelBin
impl PartialOrd<SubpixelBin> for SubpixelBin
source§fn partial_cmp(&self, other: &SubpixelBin) -> Option<Ordering>
fn partial_cmp(&self, other: &SubpixelBin) -> 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 more