pub struct GameWidget<'a> {
pub area_ids: &'a [AreaId],
pub bounds: Rect<u16>,
pub game: &'a Game,
pub display_state: DisplayState,
pub widget_state: &'a GameWidgetState,
}
Fields§
§area_ids: &'a [AreaId]
§bounds: Rect<u16>
§game: &'a Game
§display_state: DisplayState
§widget_state: &'a GameWidgetState
Trait Implementations§
Source§impl<'a> Debug for GameWidget<'a>
impl<'a> Debug for GameWidget<'a>
Source§impl<'a> Display for GameWidget<'a>
impl<'a> Display for GameWidget<'a>
Auto Trait Implementations§
impl<'a> Freeze for GameWidget<'a>
impl<'a> !RefUnwindSafe for GameWidget<'a>
impl<'a> !Send for GameWidget<'a>
impl<'a> !Sync for GameWidget<'a>
impl<'a> Unpin for GameWidget<'a>
impl<'a> !UnwindSafe for GameWidget<'a>
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