pub enum PredefinedTemplateKind {
FastCompile,
FastRuntime,
MinSize,
}Expand description
Enumeration of predefined templates.
Variants§
FastCompile
Profile designed for fast compilation times.
FastRuntime
Profile designed for fast runtime performance.
MinSize
Profile designed for minimal binary size.
Implementations§
Source§impl PredefinedTemplateKind
impl PredefinedTemplateKind
pub fn build_template(&self, options: &WizardOptions) -> Template
Trait Implementations§
Source§impl Clone for PredefinedTemplateKind
impl Clone for PredefinedTemplateKind
Source§fn clone(&self) -> PredefinedTemplateKind
fn clone(&self) -> PredefinedTemplateKind
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 Debug for PredefinedTemplateKind
impl Debug for PredefinedTemplateKind
Source§impl ValueEnum for PredefinedTemplateKind
impl ValueEnum for PredefinedTemplateKind
impl Copy for PredefinedTemplateKind
Auto Trait Implementations§
impl Freeze for PredefinedTemplateKind
impl RefUnwindSafe for PredefinedTemplateKind
impl Send for PredefinedTemplateKind
impl Sync for PredefinedTemplateKind
impl Unpin for PredefinedTemplateKind
impl UnwindSafe for PredefinedTemplateKind
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