pub struct Guide { /* private fields */ }Implementations§
Source§impl Guide
impl Guide
pub fn new_default(dir: PathBuf, template_extension: &str) -> Self
pub fn add_step( &mut self, step: &StepRef, after_step: Option<&StepRef>, code_extension: Option<Extension>, before_after_extension: Option<Extension>, )
pub fn get_step_dir(&self, step: &StepRef) -> Option<&StepDir>
pub fn steps_iter(&self) -> StepsIter<'_> ⓘ
pub fn template(&self) -> &String
pub fn render_template(&self, steps: String) -> String
pub fn render_guide(&self) -> String
Trait Implementations§
impl DirStructure for Guide
Source§impl HasField<DirStructure> for Guide
impl HasField<DirStructure> for Guide
type Inner = ForceCreateDirChildren<StepDir>
fn resolve_path(__dir_structure_path: PathBuf) -> PathBuf
Source§impl HasField<DirStructure> for Guide
impl HasField<DirStructure> for Guide
type Inner = DirChildSingle<String, TemplateFilter>
fn resolve_path(__dir_structure_path: PathBuf) -> PathBuf
Auto Trait Implementations§
impl Freeze for Guide
impl RefUnwindSafe for Guide
impl Send for Guide
impl Sync for Guide
impl Unpin for Guide
impl UnsafeUnpin for Guide
impl UnwindSafe for Guide
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