pub struct Refs {
pub texts: HashMap<String, (String, String)>,
pub images: HashMap<String, String>,
pub colors: HashMap<String, u32>,
pub pictures: HashMap<String, Picture>,
}Expand description
What .yui screens and yog.toml can refer to as @<Set>.<name>.
Fields§
§texts: HashMap<String, (String, String)>Set.name → (translation key, neutral text).
images: HashMap<String, String>Set.name → image source (<mod id>:<texture>).
colors: HashMap<String, u32>Set.name → color (0xAARRGGBB).
pictures: HashMap<String, Picture>Set.name → an image’s picture, as the build writes it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Refs
impl RefUnwindSafe for Refs
impl Send for Refs
impl Sync for Refs
impl Unpin for Refs
impl UnsafeUnpin for Refs
impl UnwindSafe for Refs
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