Enum freetype::freetype::FT_Pixel_Mode_
source · #[repr(u32)]pub enum FT_Pixel_Mode_ {
FT_PIXEL_MODE_NONE = 0,
FT_PIXEL_MODE_MONO = 1,
FT_PIXEL_MODE_GRAY = 2,
FT_PIXEL_MODE_GRAY2 = 3,
FT_PIXEL_MODE_GRAY4 = 4,
FT_PIXEL_MODE_LCD = 5,
FT_PIXEL_MODE_LCD_V = 6,
FT_PIXEL_MODE_BGRA = 7,
FT_PIXEL_MODE_MAX = 8,
}
Variants§
FT_PIXEL_MODE_NONE = 0
FT_PIXEL_MODE_MONO = 1
FT_PIXEL_MODE_GRAY = 2
FT_PIXEL_MODE_GRAY2 = 3
FT_PIXEL_MODE_GRAY4 = 4
FT_PIXEL_MODE_LCD = 5
FT_PIXEL_MODE_LCD_V = 6
FT_PIXEL_MODE_BGRA = 7
FT_PIXEL_MODE_MAX = 8
Trait Implementations§
source§impl Clone for FT_Pixel_Mode_
impl Clone for FT_Pixel_Mode_
source§fn clone(&self) -> FT_Pixel_Mode_
fn clone(&self) -> FT_Pixel_Mode_
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 FT_Pixel_Mode_
impl Debug for FT_Pixel_Mode_
source§impl Hash for FT_Pixel_Mode_
impl Hash for FT_Pixel_Mode_
source§impl PartialEq for FT_Pixel_Mode_
impl PartialEq for FT_Pixel_Mode_
source§fn eq(&self, other: &FT_Pixel_Mode_) -> bool
fn eq(&self, other: &FT_Pixel_Mode_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FT_Pixel_Mode_
impl Eq for FT_Pixel_Mode_
impl StructuralPartialEq for FT_Pixel_Mode_
Auto Trait Implementations§
impl Freeze for FT_Pixel_Mode_
impl RefUnwindSafe for FT_Pixel_Mode_
impl Send for FT_Pixel_Mode_
impl Sync for FT_Pixel_Mode_
impl Unpin for FT_Pixel_Mode_
impl UnwindSafe for FT_Pixel_Mode_
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