Struct faerie::artifact::ArtifactBuilder [−][src]
pub struct ArtifactBuilder { /* fields omitted */ }
Builder for creating an artifact
Methods
impl ArtifactBuilder
[src]
impl ArtifactBuilder
pub fn new(target: Triple) -> Self
[src]
pub fn new(target: Triple) -> Self
Create a new Artifact with target
machine architecture
pub fn name(self, name: String) -> Self
[src]
pub fn name(self, name: String) -> Self
Set this artifacts name
pub fn library(self, is_library: bool) -> Self
[src]
pub fn library(self, is_library: bool) -> Self
Set whether this will be a static library or not
pub fn finish(self) -> Artifact
[src]
pub fn finish(self) -> Artifact
Auto Trait Implementations
impl Send for ArtifactBuilder
impl Send for ArtifactBuilder
impl Sync for ArtifactBuilder
impl Sync for ArtifactBuilder