pub struct CrateMeta<'a> {
pub name: &'a str,
pub version: &'a str,
pub edition: &'a str,
pub authors: &'a str,
pub license: &'a str,
pub mod_id: &'a str,
pub yog_api: &'a str,
}Expand description
What the exports crate’s Cargo.toml says.
Fields§
§name: &'a strThe crate’s name (<mod>-exports), version and Rust edition.
version: &'a strSee CrateMeta::name.
edition: &'a strSee CrateMeta::name.
The mod’s authors, joined with ", ".
license: &'a strIts license.
mod_id: &'a strThe mod it calls into.
yog_api: &'a strThe yog-api version it builds with.
Auto Trait Implementations§
impl<'a> Freeze for CrateMeta<'a>
impl<'a> RefUnwindSafe for CrateMeta<'a>
impl<'a> Send for CrateMeta<'a>
impl<'a> Sync for CrateMeta<'a>
impl<'a> Unpin for CrateMeta<'a>
impl<'a> UnsafeUnpin for CrateMeta<'a>
impl<'a> UnwindSafe for CrateMeta<'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