pub struct LibraryConfig {
pub dir: PathBuf,
pub manifest: PathBuf,
pub package: Package,
pub version: String,
pub sources: Vec<SourceFile>,
pub languages: Vec<String>,
pub default_language: String,
pub strict: bool,
}Expand description
A component library crate, described by its own Bern.toml.
Fields§
§dir: PathBuf§manifest: PathBuf§package: Package§version: String§sources: Vec<SourceFile>§languages: Vec<String>§default_language: String§strict: boolTrait Implementations§
Source§impl Clone for LibraryConfig
impl Clone for LibraryConfig
Auto Trait Implementations§
impl Freeze for LibraryConfig
impl RefUnwindSafe for LibraryConfig
impl Send for LibraryConfig
impl Sync for LibraryConfig
impl Unpin for LibraryConfig
impl UnsafeUnpin for LibraryConfig
impl UnwindSafe for LibraryConfig
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