pub struct Setting {
pub name: &'static str,
/* private fields */
}Expand description
A run setting a pass reads (Pass::settings): a resource the program states for the run, by name, with how a
run report states its value (RunSetting::text). Made by Setting::of.
Fields§
§name: &'static strThe resource’s name (core.threads).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Setting
impl Freeze for Setting
impl RefUnwindSafe for Setting
impl Send for Setting
impl Sync for Setting
impl Unpin for Setting
impl UnsafeUnpin 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