Trait uefi::SimpleTextOutput
[−]
[src]
pub trait SimpleTextOutput { unsafe fn write_raw(&self, str: *const u16); fn write(&self, str: &str) { ... } }
Required Methods
unsafe fn write_raw(&self, str: *const u16)
Provided Methods
fn write(&self, str: &str)
Examples
#[start] #[no_mangle] pub extern "win64" fn efimain(_: uefi::Handle, st: &'static uefi::SystemTable) -> uefi::Status { st.console().write("Hello, world!\r\n"); let status = uefi::Status(0); return status; }
Implementors
impl SimpleTextOutput for Console