pub struct EngineFile {
pub file: &'static str,
pub work: &'static str,
pub version: &'static str,
pub source: &'static str,
pub license: &'static str,
pub text: (&'static str, &'static str),
pub builds: &'static [Build],
pub within: Option<&'static str>,
}Expand description
A file of the engine’s that reaches a game’s package and isn’t a
crate. Every one has its row in THIRD_PARTY_ASSETS.md (a test).
Fields§
§file: &'static strThe file in the engine’s repository, or the folder of the crate it is compiled in from.
work: &'static strThe work it comes from.
version: &'static strThe work’s version, if it has one.
source: &'static strWhere it comes from.
license: &'static strIts license.
text: (&'static str, &'static str)Its license text’s file in the repository, and the text.
builds: &'static [Build]The builds that carry it.
within: Option<&'static str>The crate that compiles it in, if a crate does: it is carried only when that crate is.
Implementations§
Trait Implementations§
Source§impl Clone for EngineFile
impl Clone for EngineFile
Source§fn clone(&self) -> EngineFile
fn clone(&self) -> EngineFile
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 moreimpl Copy for EngineFile
Auto Trait Implementations§
impl Freeze for EngineFile
impl RefUnwindSafe for EngineFile
impl Send for EngineFile
impl Sync for EngineFile
impl Unpin for EngineFile
impl UnsafeUnpin for EngineFile
impl UnwindSafe for EngineFile
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