pub struct VirtualFont {
pub fonts: Vec<u32>,
pub packets: HashMap<u32, Box<[PacketCommand]>, FastHash>,
}Expand description
The drawing instructions of a virtual font at the size it was loaded at: shipping out a character runs its packet instead of drawing it.
Fields§
§fonts: Vec<u32>The engine font of each local font (0, the null font, if it could not be loaded).
packets: HashMap<u32, Box<[PacketCommand]>, FastHash>The packet of each character, in sp.
Trait Implementations§
Source§impl Debug for VirtualFont
impl Debug for VirtualFont
Auto Trait Implementations§
impl Freeze for VirtualFont
impl RefUnwindSafe for VirtualFont
impl Send for VirtualFont
impl Sync for VirtualFont
impl Unpin for VirtualFont
impl UnsafeUnpin for VirtualFont
impl UnwindSafe for VirtualFont
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