/// Create a new framebuffer with the specified resolution.
Create a new framebuffer with the specified resolution.
Create a new framebuffer with the specified resolution .
pub fn new(x: u32, y: u32) -> Result<Self, String> {
        Self::new_inner(x, y).map_err(|e| {
            format!(
                "Failed to open files at `/_wasmer/dev/fb0`: \"{}\". These are \
                 non-standard files. If you're using Wasmer, please ensure that \
                 you've updated to version 0.13.1 and are using the \
                 `--enable-experimental-io-devices` flag.",
                e.to_string()
            )
        })
    }
pub fn new ( x : u32 , y : u32 ) -> Result < Self , String > { Self :: new_inner ( x , y ) . map_err ( | e | { format ! ( " \" \" \
 \
 \
 " e to_string ( ) ) } ) }
Create a new framebuffer with the specified resolution.
Create a new framebuffer with the specified resolution .
x
u32
y
u32