Skip to main content

Module surface

Module surface 

Source

Re-exports§

pub use crate::event::input::InputEvent;
pub use crate::event::input::KEY_HW_BUTTON_0;
pub use crate::event::input::KEY_ROTARY_PRESS;

Modules§

framebuf

Structs§

DisplayInfo
Display information reported by a backend. width / height are in logical pixels — the units user code writes Dimension::px(…) in. Physical framebuffer size is Surface::physical_size().

Enums§

BackbufferPersistence
Does the backbuffer survive flush()?

Traits§

FramebufferAccess
A Surface that exposes a CPU-accessible framebuffer as a Texture.
Surface
Platform backend trait — abstracts display + input.