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: u16
The console height in characters.
columns: u16
The console width in characters.
max_ports: u32
The 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§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§
§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, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)