Struct limine_protocol::responses::TerminalResponse
source · [−]#[repr(C)]pub struct TerminalResponse {
pub revision: u64,
pub terminal_count: u64,
pub terminals: *const *const Terminal,
pub write: TerminalWriteFn,
}Expand description
Response to [TerminalRequest]
Fields
revision: u64The response revision number
terminal_count: u64The number of Terminals in terminals
terminals: *const *const TerminalA pointer to an array of Terminal pointers
write: TerminalWriteFnThe terminal write function
Important
It must be noted that this is the physical address of the write function
Implementations
sourceimpl TerminalResponse
impl TerminalResponse
sourcepub unsafe fn get_terminals(&self) -> Option<&[&Terminal]>
pub unsafe fn get_terminals(&self) -> Option<&[&Terminal]>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TerminalResponse
impl !Send for TerminalResponse
impl !Sync for TerminalResponse
impl Unpin for TerminalResponse
impl UnwindSafe for TerminalResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more