Struct read_fonts::tables::bitmap::BitmapLocation
source · pub struct BitmapLocation {
pub format: u16,
pub data_offset: usize,
pub data_size: Option<usize>,
pub bit_depth: u8,
pub metrics: Option<BigGlyphMetrics>,
}Fields§
§format: u16Format of EBDT/CBDT image data.
data_offset: usizeOffset in bytes from the start of the EBDT/CBDT table.
data_size: Option<usize>Size of the image data in bytes, if present in the EBLC/CBLC table.
bit_depth: u8Bit depth from the associated size. Required for computing image data size when unspecified.
metrics: Option<BigGlyphMetrics>Full metrics, if present in the EBLC/CBLC table.
Trait Implementations§
source§impl Clone for BitmapLocation
impl Clone for BitmapLocation
source§fn clone(&self) -> BitmapLocation
fn clone(&self) -> BitmapLocation
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 Default for BitmapLocation
impl Default for BitmapLocation
source§fn default() -> BitmapLocation
fn default() -> BitmapLocation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BitmapLocation
impl Send for BitmapLocation
impl Sync for BitmapLocation
impl Unpin for BitmapLocation
impl UnwindSafe for BitmapLocation
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