Enum ux::prelude::dx::SubpixelOrder [−][src]
#[non_exhaustive] pub enum SubpixelOrder { Unknown, None, HorizontalRgb, HorizontalBgr, VerticalRgb, VerticalBgr, // some variants omitted }
Some output devices (such as LCD panels) display colors by making each pixel consist of smaller “subpixels” that each have a particular color. By using knowledge of the layout of this subpixel components, it is possible to create image content with higher resolution than the pixel grid.
Variants (Non-exhaustive)
the layout of subpixel components for the device is unknown.
the device displays colors without geometrically-separated subpixel components, or the positioning or colors of the components do not match any of the values in the enumeration.
the device has horizontally arranged components in the order red-green-blue from left to right.
the device has horizontally arranged components in the order blue-green-red from left to right.
the device has vertically arranged components in the order red-green-blue from top to bottom.
the device has vertically arranged components in the order blue-green-red from top to bottom.
Trait Implementations
impl Clone for SubpixelOrder
[src]
impl Clone for SubpixelOrder
[src]pub fn clone(&self) -> SubpixelOrder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SubpixelOrder
[src]
impl Copy for SubpixelOrder
[src]impl Display for SubpixelOrder
[src]
impl Display for SubpixelOrder
[src]impl Eq for SubpixelOrder
[src]
impl Eq for SubpixelOrder
[src]impl Hash for SubpixelOrder
[src]
impl Hash for SubpixelOrder
[src]impl Ord for SubpixelOrder
[src]
impl Ord for SubpixelOrder
[src]impl PartialEq<SubpixelOrder> for SubpixelOrder
[src]
impl PartialEq<SubpixelOrder> for SubpixelOrder
[src]pub fn eq(&self, other: &SubpixelOrder) -> bool
[src]
pub fn ne(&self, other: &SubpixelOrder) -> bool
[src]
impl PartialOrd<SubpixelOrder> for SubpixelOrder
[src]
impl PartialOrd<SubpixelOrder> for SubpixelOrder
[src]pub fn partial_cmp(&self, other: &SubpixelOrder) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for SubpixelOrder
[src]
impl StructuralEq for SubpixelOrder
[src]impl StructuralPartialEq for SubpixelOrder
[src]
impl StructuralPartialEq for SubpixelOrder
[src]Auto Trait Implementations
impl RefUnwindSafe for SubpixelOrder
impl RefUnwindSafe for SubpixelOrder
impl Send for SubpixelOrder
impl Send for SubpixelOrder
impl Sync for SubpixelOrder
impl Sync for SubpixelOrder
impl Unpin for SubpixelOrder
impl Unpin for SubpixelOrder
impl UnwindSafe for SubpixelOrder
impl UnwindSafe for SubpixelOrder
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,