pub enum TemplateDetectionMethod {
Extension,
ContentPattern,
DirectoryContext,
LanguageHeuristic,
}Expand description
Method used for template detection
Variants§
Extension
Detected by file extension
ContentPattern
Detected by content pattern analysis
DirectoryContext
Detected by directory context
LanguageHeuristic
Detected by language heuristics
Trait Implementations§
Source§impl Clone for TemplateDetectionMethod
impl Clone for TemplateDetectionMethod
Source§fn clone(&self) -> TemplateDetectionMethod
fn clone(&self) -> TemplateDetectionMethod
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 TemplateDetectionMethod
impl Debug for TemplateDetectionMethod
Source§impl PartialEq for TemplateDetectionMethod
impl PartialEq for TemplateDetectionMethod
impl Eq for TemplateDetectionMethod
impl StructuralPartialEq for TemplateDetectionMethod
Auto Trait Implementations§
impl Freeze for TemplateDetectionMethod
impl RefUnwindSafe for TemplateDetectionMethod
impl Send for TemplateDetectionMethod
impl Sync for TemplateDetectionMethod
impl Unpin for TemplateDetectionMethod
impl UnwindSafe for TemplateDetectionMethod
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