pub struct ScreenMeta {
pub id: &'static str,
pub w: f32,
pub h: f32,
pub anchor: Anchor,
pub modal: bool,
pub pause: bool,
pub live: bool,
}Expand description
Static facts about a screen, from its <Screen> attributes.
Fields§
§id: &'static strUI id (register_ui, open_ui).
w: f32Design size in GUI pixels.
h: f32§anchor: Anchor§modal: bool§pause: bool§live: boolRe-evaluates the bindings every frame (<Screen live="true">): for
a screen showing state that changes outside its own commands (a
server tick, a packet). Inventory screens always are.
Trait Implementations§
Source§impl Clone for ScreenMeta
impl Clone for ScreenMeta
impl Copy for ScreenMeta
Source§impl Debug for ScreenMeta
impl Debug for ScreenMeta
Source§impl PartialEq for ScreenMeta
impl PartialEq for ScreenMeta
impl StructuralPartialEq for ScreenMeta
Auto Trait Implementations§
impl Freeze for ScreenMeta
impl RefUnwindSafe for ScreenMeta
impl Send for ScreenMeta
impl Sync for ScreenMeta
impl Unpin for ScreenMeta
impl UnsafeUnpin for ScreenMeta
impl UnwindSafe for ScreenMeta
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more