We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GraphicsOutput.query_mode(...)
1 parent 9af9349 commit 4222d50Copy full SHA for 4222d50
src/proto/console/gop.rs
@@ -95,7 +95,7 @@ pub struct GraphicsOutput<'boot> {
95
impl<'boot> GraphicsOutput<'boot> {
96
/// Returns information for an available graphics mode that the graphics
97
/// device and the set of active video output devices supports.
98
- fn query_mode(&self, index: u32) -> Result<Mode> {
+ pub fn query_mode(&self, index: u32) -> Result<Mode> {
99
let mut info_sz = 0;
100
let mut info = ptr::null();
101
0 commit comments