pub struct LibraryInfo {
pub description: String,
pub project_url: String,
pub repository: String,
pub license_name: String,
pub license_description: Vec<String>,
pub license_path: PathBuf,
pub developers: Vec<DeveloperInfo>,
pub logo_png: &'static [u8],
}
Expand description
metadata related to the library
Fields§
§description: String
Description of the library
project_url: String
URL of the project
repository: String
GitHub organisation and repo name (e.g. stepfunc/oo_bindgen)
license_name: String
License name
license_description: Vec<String>
Short description of the license (to put on every generated file)
license_path: PathBuf
Path to the license file from the root directory
developers: Vec<DeveloperInfo>
List of developers
logo_png: &'static [u8]
Logo of the company (in PNG)
Use include_bytes
to import the data
Auto Trait Implementations§
impl Freeze for LibraryInfo
impl RefUnwindSafe for LibraryInfo
impl Send for LibraryInfo
impl Sync for LibraryInfo
impl Unpin for LibraryInfo
impl UnwindSafe for LibraryInfo
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