pub struct Env<'a> {
pub game: Option<&'a ClassIndex>,
pub macros: Option<&'a dyn ProcMacros>,
pub to_server: bool,
}Expand description
What a source is checked in: the game’s classes (a .yns’s, of one
version), the build’s procedural macros.
Fields§
§game: Option<&'a ClassIndex>§macros: Option<&'a dyn ProcMacros>§to_server: boolThe mod says it sends to the server (yog.toml: [network] to_server).
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Env<'a>
impl<'a> !Send for Env<'a>
impl<'a> !Sync for Env<'a>
impl<'a> !UnwindSafe for Env<'a>
impl<'a> Freeze for Env<'a>
impl<'a> Unpin for Env<'a>
impl<'a> UnsafeUnpin for Env<'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