pub struct UiScene {
pub nodes: Vec<ExtractedUiNode>,
pub texts: Vec<ExtractedUiText>,
pub surface_size: (u32, u32),
}Expand description
All UI data extracted from the main World for a single frame.
Fields§
§nodes: Vec<ExtractedUiNode>UI nodes to render.
texts: Vec<ExtractedUiText>UI text elements to render.
surface_size: (u32, u32)Surface size at the time of extraction.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UiScene
impl !RefUnwindSafe for UiScene
impl Send for UiScene
impl Sync for UiScene
impl Unpin for UiScene
impl UnsafeUnpin for UiScene
impl !UnwindSafe for UiScene
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