pub struct BitmapLocation {
pub format: u16,
pub data_offset: usize,
pub data_size: usize,
pub bit_depth: u8,
pub metrics: Option<BigGlyphMetrics>,
}
Fields§
§format: u16
Format of EBDT/CBDT image data.
data_offset: usize
Offset in bytes from the start of the EBDT/CBDT table.
data_size: usize
Size of the image data in bytes.
bit_depth: u8
Bit 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.
Implementations§
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 Freeze for BitmapLocation
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