Enum allsorts_no_std::bitmap::cbdt::GlyphBitmapData [−][src]
Record corresponding to data read from CBDT
.
Variants
Format 1: small metrics, byte-aligned data.
Fields of Format1
small_metrics: SmallGlyphMetrics
Metrics information for the glyph.
data: &'a [u8]
Byte-aligned bitmap data.
Format 2: small metrics, bit-aligned data.
Fields of Format2
small_metrics: SmallGlyphMetrics
Metrics information for the glyph.
data: &'a [u8]
Bit-aligned bitmap data.
Format 5: metrics in EBLC, bit-aligned image data only.
Fields of Format5
big_metrics: BigGlyphMetrics
Metrics information for the glyph.
data: &'a [u8]
Bit-aligned bitmap data.
Format 6: big metrics, byte-aligned data.
Fields of Format6
big_metrics: BigGlyphMetrics
Metrics information for the glyph.
data: &'a [u8]
Byte-aligned bitmap data.
Format7: big metrics, bit-aligned data.
Fields of Format7
big_metrics: BigGlyphMetrics
Metrics information for the glyph.
data: &'a [u8]
Bit-aligned bitmap data.
Format 8: small metrics, component data.
Fields of Format8
small_metrics: SmallGlyphMetrics
Metrics information for the glyph.
components: ReadArray<'a, EbdtComponent>
Array of EbdtComponent records.
Format 9: big metrics, component data.
Fields of Format9
big_metrics: BigGlyphMetrics
Metrics information for the glyph.
components: ReadArray<'a, EbdtComponent>
Array of EbdtComponent records.
Format 17: small metrics, PNG image data.
Fields of Format17
Format 18: big metrics, PNG image data.
Fields of Format18
Format 19: metrics in CBLC table, PNG image data.
Fields of Format19
Implementations
impl<'a> GlyphBitmapData<'a>
[src]
pub fn width(&self) -> u8
[src]
The width of the bitmap.
pub fn height(&self) -> u8
[src]
The height of the bitmap.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for GlyphBitmapData<'a>
impl<'a> Send for GlyphBitmapData<'a>
impl<'a> Sync for GlyphBitmapData<'a>
impl<'a> Unpin for GlyphBitmapData<'a>
impl<'a> UnwindSafe for GlyphBitmapData<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,