pub enum Tier {
Atom,
Molecule,
Layout,
Feature,
Knowledge,
Unknown,
}Expand description
The four-tier template hierarchy used by forge.
Variants§
Atom
Indivisible code fragments — cannot include other atoms.
Molecule
Atoms composed into a self-contained logical block.
Layout
File-level shell — wraps molecules with import hoisting.
Feature
Top-level feature template — wires molecules into a layout.
Knowledge
Markdown knowledge file for the Framework Protocol.
Unknown
Tier could not be determined from the path.
Implementations§
Trait Implementations§
impl Eq for Tier
impl StructuralPartialEq for Tier
Auto Trait Implementations§
impl Freeze for Tier
impl RefUnwindSafe for Tier
impl Send for Tier
impl Sync for Tier
impl Unpin for Tier
impl UnsafeUnpin for Tier
impl UnwindSafe for Tier
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