Enum read_fonts::tables::bitmap::BitmapDataFormat
source · pub enum BitmapDataFormat {
BitAligned,
ByteAligned,
Png,
}
Variants§
BitAligned
The full bitmap is tightly packed according to the bit depth.
ByteAligned
Each row of the data is aligned to a byte boundary.
Png
Trait Implementations§
source§impl Clone for BitmapDataFormat
impl Clone for BitmapDataFormat
source§fn clone(&self) -> BitmapDataFormat
fn clone(&self) -> BitmapDataFormat
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 BitmapDataFormat
impl Debug for BitmapDataFormat
source§impl PartialEq for BitmapDataFormat
impl PartialEq for BitmapDataFormat
source§fn eq(&self, other: &BitmapDataFormat) -> bool
fn eq(&self, other: &BitmapDataFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BitmapDataFormat
impl Eq for BitmapDataFormat
impl StructuralPartialEq for BitmapDataFormat
Auto Trait Implementations§
impl Freeze for BitmapDataFormat
impl RefUnwindSafe for BitmapDataFormat
impl Send for BitmapDataFormat
impl Sync for BitmapDataFormat
impl Unpin for BitmapDataFormat
impl UnwindSafe for BitmapDataFormat
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