Enum freetype::freetype::FT_Pixel_Mode_
source · #[repr(u32)]pub enum FT_Pixel_Mode_ {
FT_PIXEL_MODE_NONE,
FT_PIXEL_MODE_MONO,
FT_PIXEL_MODE_GRAY,
FT_PIXEL_MODE_GRAY2,
FT_PIXEL_MODE_GRAY4,
FT_PIXEL_MODE_LCD,
FT_PIXEL_MODE_LCD_V,
FT_PIXEL_MODE_BGRA,
FT_PIXEL_MODE_MAX,
}
Variants§
FT_PIXEL_MODE_NONE
FT_PIXEL_MODE_MONO
FT_PIXEL_MODE_GRAY
FT_PIXEL_MODE_GRAY2
FT_PIXEL_MODE_GRAY4
FT_PIXEL_MODE_LCD
FT_PIXEL_MODE_LCD_V
FT_PIXEL_MODE_BGRA
FT_PIXEL_MODE_MAX
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<FT_Pixel_Mode_> for FT_Pixel_Mode_
impl PartialEq<FT_Pixel_Mode_> 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 StructuralEq for FT_Pixel_Mode_
impl StructuralPartialEq for FT_Pixel_Mode_
Auto Trait Implementations§
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