pub struct OverlayImages(pub Vec<OverlayImage>);Expand description
Extra images appended to the sprite/text atlas pool at graphics init: a
sprite whose texture names one of these handles samples the image like any
compiled texture. Opt-in like PickIndex: inserted before start (the cn editor HUD injection adds baked asset thumbnails); absent everywhere else,
so a shipped runtime never pays for it. Read once at init – images added to
the resource later join the pool on the next world rebuild.
Tuple Fields§
§0: Vec<OverlayImage>Trait Implementations§
Source§impl Clone for OverlayImages
impl Clone for OverlayImages
Source§fn clone(&self) -> OverlayImages
fn clone(&self) -> OverlayImages
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OverlayImages
impl Debug for OverlayImages
Source§impl Default for OverlayImages
impl Default for OverlayImages
Source§fn default() -> OverlayImages
fn default() -> OverlayImages
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OverlayImages
impl RefUnwindSafe for OverlayImages
impl Send for OverlayImages
impl Sync for OverlayImages
impl Unpin for OverlayImages
impl UnsafeUnpin for OverlayImages
impl UnwindSafe for OverlayImages
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