pub struct MesonConfig {
pub synta_root: Option<String>,
pub shared_library: bool,
}Expand description
Configuration for Meson file generation.
Fields§
§synta_root: Option<String>Path to the synta source tree (the directory that contains include/
and target/release/). When None the generated file uses a
dependency('synta') call (resolved by pkg-config or a wrap file).
Build the generated library as 'shared_library' instead of
'library' (which defaults to the build-system preference).
Trait Implementations§
Source§impl Clone for MesonConfig
impl Clone for MesonConfig
Source§fn clone(&self) -> MesonConfig
fn clone(&self) -> MesonConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MesonConfig
impl Debug for MesonConfig
Source§impl Default for MesonConfig
impl Default for MesonConfig
Source§fn default() -> MesonConfig
fn default() -> MesonConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MesonConfig
impl RefUnwindSafe for MesonConfig
impl Send for MesonConfig
impl Sync for MesonConfig
impl Unpin for MesonConfig
impl UnsafeUnpin for MesonConfig
impl UnwindSafe for MesonConfig
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