Struct allsorts_no_std::bitmap::cbdt::BitmapInfo [−][src]
Subset of BitmapSize that includes common fields.
Fields
hori: SbitLineMetrics
Line metrics for text rendered horizontally.
vert: SbitLineMetrics
Line metrics for text rendered vertically.
start_glyph_index: u16
Lowest glyph index for this size.
end_glyph_index: u16
Highest glyph index for this size.
ppem_x: u8
Horizontal pixels per em.
ppem_y: u8
Vertical pixels per em.
bit_depth: BitDepth
Bit depth.
In addition to already defined bitDepth values 1, 2, 4, and 8 supported by EBDT
the value
of 32 is used to identify color bitmaps with 8 bit per channel RGBA channels in CBDT
.
flags: i8
Vertical or horizontal.
Trait Implementations
impl Clone for BitmapInfo
[src]
fn clone(&self) -> BitmapInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BitmapInfo
[src]
impl Eq for BitmapInfo
[src]
impl PartialEq<BitmapInfo> for BitmapInfo
[src]
fn eq(&self, other: &BitmapInfo) -> bool
[src]
fn ne(&self, other: &BitmapInfo) -> bool
[src]
impl StructuralEq for BitmapInfo
[src]
impl StructuralPartialEq for BitmapInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for BitmapInfo
impl Send for BitmapInfo
impl Sync for BitmapInfo
impl Unpin for BitmapInfo
impl UnwindSafe for BitmapInfo
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,