Struct vga_buffer::ScreenChar
source · #[repr(C)]pub struct ScreenChar { /* private fields */ }
Implementations§
source§impl ScreenChar
impl ScreenChar
pub const fn new(ascii: u8, color: ColorCode) -> ScreenChar
Trait Implementations§
source§impl Clone for ScreenChar
impl Clone for ScreenChar
source§fn clone(&self) -> ScreenChar
fn clone(&self) -> ScreenChar
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 ScreenChar
impl Debug for ScreenChar
impl Copy for ScreenChar
Auto Trait Implementations§
impl RefUnwindSafe for ScreenChar
impl Send for ScreenChar
impl Sync for ScreenChar
impl Unpin for ScreenChar
impl UnwindSafe for ScreenChar
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