pub enum BitOrder {
Lsb,
Msb,
}Expand description
Bit-packing convention within each bitmap byte.
BitOrder::Lsb: bit 0 of each byte is the leftmost pixel. Matches the dhepper/font8x8 convention our built-in fonts use.BitOrder::Msb: bit 7 is the leftmost pixel. Matches the IBM VGA BIOS ROM / Linuxfbconfont_8x8.c/ GRUB conventions.
Fonts imported from different sources carry different bit orders; the uploader handles both transparently.
Variants§
Trait Implementations§
impl Copy for BitOrder
impl Eq for BitOrder
impl StructuralPartialEq for BitOrder
Auto Trait Implementations§
impl Freeze for BitOrder
impl RefUnwindSafe for BitOrder
impl Send for BitOrder
impl Sync for BitOrder
impl Unpin for BitOrder
impl UnsafeUnpin for BitOrder
impl UnwindSafe for BitOrder
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)