pub struct LibPragma {
pub name: String,
pub version: String,
pub doc: String,
pub depends: Vec<String>,
pub meta: HashMap<String, Kind>,
}Expand description
Library pragma at the top of a .xeto file.
Fields§
§name: StringLibrary name.
version: StringLibrary version string.
doc: StringDoc comment text.
depends: Vec<String>Dependent library names.
meta: HashMap<String, Kind>Additional metadata tags.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LibPragma
impl RefUnwindSafe for LibPragma
impl Send for LibPragma
impl Sync for LibPragma
impl Unpin for LibPragma
impl UnsafeUnpin for LibPragma
impl UnwindSafe for LibPragma
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