#[repr(transparent)]pub(crate) struct BlueZones(u16);
Expand description
Defines the zone(s) that are associated with a blue value.
Tuple Fields§
§0: u16
Implementations§
Source§impl BlueZones
impl BlueZones
pub const NONE: Self
pub const TOP: Self
pub const SUB_TOP: Self
pub const NEUTRAL: Self
pub const ADJUSTMENT: Self
pub const X_HEIGHT: Self
pub const LONG: Self
pub const HORIZONTAL: Self
pub const RIGHT: Self = Self::TOP
pub const fn contains(self, other: Self) -> bool
pub const fn union(self, other: Self) -> Self
pub fn is_top_like(self) -> bool
pub fn is_top(self) -> bool
pub fn is_sub_top(self) -> bool
pub fn is_neutral(self) -> bool
pub fn is_x_height(self) -> bool
pub fn is_long(self) -> bool
pub fn is_horizontal(self) -> bool
pub fn is_right(self) -> bool
pub fn retain_top_like_or_neutral(self) -> Self
Trait Implementations§
Source§impl BitAndAssign for BlueZones
impl BitAndAssign for BlueZones
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOrAssign for BlueZones
impl BitOrAssign for BlueZones
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreimpl Copy for BlueZones
impl Eq for BlueZones
impl StructuralPartialEq for BlueZones
Auto Trait Implementations§
impl Freeze for BlueZones
impl RefUnwindSafe for BlueZones
impl Send for BlueZones
impl Sync for BlueZones
impl Unpin for BlueZones
impl UnwindSafe for BlueZones
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