Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algoscienceacademy/RustUI
/ Orientation
Enum
Orientation
src/window.rs:45–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
44
#[derive(Clone, Copy)]
45
pub enum Orientation {
46
Portrait,
47
Landscape,
48
}
49
50
impl Window {
51
pub fn new() -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected