pub struct RustcBuilder { /* private fields */ }
Available on crate feature
rustc
only.Expand description
Builder for Rustc
.
Implementations§
Source§impl RustcBuilder
impl RustcBuilder
Sourcepub fn channel(&mut self, value: bool) -> &mut RustcBuilder
pub fn channel(&mut self, value: bool) -> &mut RustcBuilder
Enable the rustc channel
Sourcepub fn commit_date(&mut self, value: bool) -> &mut RustcBuilder
pub fn commit_date(&mut self, value: bool) -> &mut RustcBuilder
Enable the rustc commit date
Sourcepub fn commit_hash(&mut self, value: bool) -> &mut RustcBuilder
pub fn commit_hash(&mut self, value: bool) -> &mut RustcBuilder
Enable the rustc SHA
Sourcepub fn host_triple(&mut self, value: bool) -> &mut RustcBuilder
pub fn host_triple(&mut self, value: bool) -> &mut RustcBuilder
Enable rustc host triple
Sourcepub fn llvm_version(&mut self, value: bool) -> &mut RustcBuilder
pub fn llvm_version(&mut self, value: bool) -> &mut RustcBuilder
Enable rustc LLVM version
Sourcepub fn semver(&mut self, value: bool) -> &mut RustcBuilder
pub fn semver(&mut self, value: bool) -> &mut RustcBuilder
Enable the rustc semver
Trait Implementations§
Source§impl Clone for RustcBuilder
impl Clone for RustcBuilder
Source§fn clone(&self) -> RustcBuilder
fn clone(&self) -> RustcBuilder
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 Default for RustcBuilder
impl Default for RustcBuilder
Source§fn default() -> RustcBuilder
fn default() -> RustcBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RustcBuilder
impl RefUnwindSafe for RustcBuilder
impl Send for RustcBuilder
impl Sync for RustcBuilder
impl Unpin for RustcBuilder
impl UnwindSafe for RustcBuilder
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