pub enum BitmapSource {
Sbix,
Cbdt,
Ebdt,
}Expand description
A table that provides bitmaps.
Variants§
Sbix
PNG bitmaps in sbix.
Cbdt
Color bitmaps in CBDT.
Ebdt
Monochrome and grayscale bitmaps in EBDT.
Trait Implementations§
Source§impl Clone for BitmapSource
impl Clone for BitmapSource
Source§fn clone(&self) -> BitmapSource
fn clone(&self) -> BitmapSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BitmapSource
Source§impl Debug for BitmapSource
impl Debug for BitmapSource
impl Eq for BitmapSource
Source§impl From<BitmapSource> for GlyphSource
impl From<BitmapSource> for GlyphSource
Source§fn from(source: BitmapSource) -> Self
fn from(source: BitmapSource) -> Self
Converts to this type from the input type.
Source§impl Hash for BitmapSource
impl Hash for BitmapSource
Source§impl PartialEq for BitmapSource
impl PartialEq for BitmapSource
impl StructuralPartialEq for BitmapSource
Source§impl TryFrom<GlyphSource> for BitmapSource
impl TryFrom<GlyphSource> for BitmapSource
Source§type Error = GlyphSource
type Error = GlyphSource
The original source, which contains no bitmaps.
Source§fn try_from(source: GlyphSource) -> Result<Self, GlyphSource>
fn try_from(source: GlyphSource) -> Result<Self, GlyphSource>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for BitmapSource
impl RefUnwindSafe for BitmapSource
impl Send for BitmapSource
impl Sync for BitmapSource
impl Unpin for BitmapSource
impl UnsafeUnpin for BitmapSource
impl UnwindSafe for BitmapSource
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