pub struct StatusFacts<'a> {
pub items: &'a [StatusItem<'a>],
pub ui: Option<UiInspection<'a>>,
pub ui_actions: &'a [UiAction],
}Expand description
Complete current facts, not a patch. None passed to publish means unavailable;
Some with empty slices means available and empty. Inspection is immutable and
must be from the current finished composition. Host input blocking and semantic
availability remain the game’s responsibility: omit blocked mappings yourself.
Fields§
§items: &'a [StatusItem<'a>]§ui: Option<UiInspection<'a>>§ui_actions: &'a [UiAction]Auto Trait Implementations§
impl<'a> Freeze for StatusFacts<'a>
impl<'a> RefUnwindSafe for StatusFacts<'a>
impl<'a> Send for StatusFacts<'a>
impl<'a> Sync for StatusFacts<'a>
impl<'a> Unpin for StatusFacts<'a>
impl<'a> UnwindSafe for StatusFacts<'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