#[repr(C)]pub struct ConsoleFont {
pub gfx: *mut u8_,
pub asciiOffset: u16_,
pub numChars: u16_,
}Expand description
A font struct for the console.
Fields§
§gfx: *mut u8_< A pointer to the font graphics
asciiOffset: u16_< Offset to the first valid character in the font table
numChars: u16_< Number of characters in the font graphics
Trait Implementations§
Source§impl Clone for ConsoleFont
impl Clone for ConsoleFont
Source§fn clone(&self) -> ConsoleFont
fn clone(&self) -> ConsoleFont
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConsoleFont
impl Debug for ConsoleFont
Source§impl Default for ConsoleFont
impl Default for ConsoleFont
impl Copy for ConsoleFont
Auto Trait Implementations§
impl Freeze for ConsoleFont
impl RefUnwindSafe for ConsoleFont
impl !Send for ConsoleFont
impl !Sync for ConsoleFont
impl Unpin for ConsoleFont
impl UnwindSafe for ConsoleFont
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)