#[repr(usize)]pub enum RasterHeight {
Size16 = 16,
}
Expand description
The height of the pre-rasterized font. The font size will be a a few percent less, because each letter contains vertical padding for proper alignment of chars (i.e. ÄyA). The width of each character will be also less than the height, because there is no horizontal padding included.
The available variants depend on the selected Cargo build features.
Variants§
Size16 = 16
Implementations§
Trait Implementations§
source§impl Clone for RasterHeight
impl Clone for RasterHeight
source§fn clone(&self) -> RasterHeight
fn clone(&self) -> RasterHeight
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 Debug for RasterHeight
impl Debug for RasterHeight
impl Copy for RasterHeight
Auto Trait Implementations§
impl Freeze for RasterHeight
impl RefUnwindSafe for RasterHeight
impl Send for RasterHeight
impl Sync for RasterHeight
impl Unpin for RasterHeight
impl UnwindSafe for RasterHeight
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