pub struct DuneExecutable {
pub name: String,
pub public_name: Option<String>,
pub libraries: Vec<String>,
pub preprocess: Vec<String>,
pub flags: Vec<String>,
}Expand description
A Dune executable stanza.
Fields§
§name: StringExecutable name.
public_name: Option<String>Public name (installed as).
libraries: Vec<String>Library dependencies.
preprocess: Vec<String>Preprocessors.
flags: Vec<String>Extra OCaml flags.
Implementations§
Trait Implementations§
Source§impl Clone for DuneExecutable
impl Clone for DuneExecutable
Source§fn clone(&self) -> DuneExecutable
fn clone(&self) -> DuneExecutable
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 moreAuto Trait Implementations§
impl Freeze for DuneExecutable
impl RefUnwindSafe for DuneExecutable
impl Send for DuneExecutable
impl Sync for DuneExecutable
impl Unpin for DuneExecutable
impl UnsafeUnpin for DuneExecutable
impl UnwindSafe for DuneExecutable
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