pub struct Compiled {
pub outputs: Vec<Output>,
pub sources: BTreeMap<String, String>,
pub refs: Refs,
pub warnings: Vec<String>,
pub files: usize,
}Expand description
Everything yog build makes of a mod’s resources.
Fields§
§outputs: Vec<Output>Files to add to the .yog (lang JSON, images, sounds, sounds.json) —
they replace a hand-written asset at the same path (merged into them).
sources: BTreeMap<String, String><Set> → generated Rust source.
refs: Refs§warnings: Vec<String>§files: usizeNumber of .yres files read.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Compiled
impl RefUnwindSafe for Compiled
impl Send for Compiled
impl Sync for Compiled
impl Unpin for Compiled
impl UnsafeUnpin for Compiled
impl UnwindSafe for Compiled
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