pub struct Setting {
pub name: &'static str,
pub description: &'static str,
pub kind: SettingKind,
pub values: Option<&'static [&'static str]>,
}
Expand description
Description of compiler settings returned by CompilerBuilder::settings
.
Fields§
§name: &'static str
The name of the setting.
description: &'static str
The description of the setting.
kind: SettingKind
The kind of the setting.
values: Option<&'static [&'static str]>
The supported values of the setting (for enum values).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Setting
impl RefUnwindSafe for Setting
impl Send for Setting
impl Sync for Setting
impl Unpin for Setting
impl UnwindSafe for Setting
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)