#[repr(C)]pub struct Output<'boot> { /* private fields */ }
Expand description
Interface for text-based output devices.
It implements the fmt::Write trait, so you can use it to print text with
standard Rust constructs like the write!()
and writeln!()
macros.
Implementations
Resets and clears the text output device hardware.
Clears the output screen.
The background is set to the current background color. The cursor is moved to (0, 0).
Writes a string to the output device.
Checks if a string contains only supported characters.
UEFI applications are encouraged to try to print a string even if it contains some unsupported characters.
Returns an iterator of all supported text modes.
Returns the the current text mode.
Sets a mode as current.
Returns whether the cursor is currently shown or not.
Make the cursor visible or invisible.
The output device may not support this operation, in which case an
Unsupported
error will be returned.
Sets the cursor’s position, relative to the top-left corner, which is (0, 0).
This function will fail if the cursor’s new position would exceed the screen’s bounds.
Trait Implementations
Writes a string slice into this writer, returning whether the write succeeded. Read more