Struct virtio_drivers::device::console::ConsoleInfo
source · pub struct ConsoleInfo {
pub rows: u16,
pub columns: u16,
pub max_ports: u32,
}Expand description
Information about a console device, read from its configuration space.
Fields§
§rows: u16The console height in characters.
columns: u16The console width in characters.
max_ports: u32The maxumum number of ports supported by the console device.
Trait Implementations§
source§impl Clone for ConsoleInfo
impl Clone for ConsoleInfo
source§fn clone(&self) -> ConsoleInfo
fn clone(&self) -> ConsoleInfo
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 ConsoleInfo
impl Debug for ConsoleInfo
source§impl PartialEq for ConsoleInfo
impl PartialEq for ConsoleInfo
impl Eq for ConsoleInfo
impl StructuralPartialEq for ConsoleInfo
Auto Trait Implementations§
impl Freeze for ConsoleInfo
impl RefUnwindSafe for ConsoleInfo
impl Send for ConsoleInfo
impl Sync for ConsoleInfo
impl Unpin for ConsoleInfo
impl UnwindSafe for ConsoleInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)