Trait conrod::CustomWidgetState
[−]
[src]
pub trait CustomWidgetState: Clone + Debug { fn matches(&self, other: &Self) -> bool; fn init() -> Self; }
The state to be stored within the Ui
s widget cache.
Required Methods
fn matches(&self, other: &Self) -> bool
Whether or not the state matches some other state.
fn init() -> Self
The inital state.