pub enum TemplateOrganization {
Flat,
Hierarchical,
Custom {
prefix: String,
},
}Expand description
Template organization strategies
Variants§
Flat
Flat organization (all templates in single namespace)
Hierarchical
Hierarchical organization (templates organized by directory structure)
Custom
Custom organization with prefixes
Trait Implementations§
Source§impl Clone for TemplateOrganization
impl Clone for TemplateOrganization
Source§fn clone(&self) -> TemplateOrganization
fn clone(&self) -> TemplateOrganization
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 moreAuto Trait Implementations§
impl Freeze for TemplateOrganization
impl RefUnwindSafe for TemplateOrganization
impl Send for TemplateOrganization
impl Sync for TemplateOrganization
impl Unpin for TemplateOrganization
impl UnwindSafe for TemplateOrganization
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