[−][src]Macro glerminal::with_base
If you're creating a struct that has InterfaceItemBase
, calling with_base!(Struct)
within
the impl-call can be useful. This will add two useful functions for setting initial values for InterfaceItemBase
with_pos(mut self, pos: (u32, u32)) -> Struct
with_focused(mut self, focused: bool) -> Struct