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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)