Struct ftml::includes::NullIncluder
source · [−]pub struct NullIncluder;
Trait Implementations
sourceimpl Debug for NullIncluder
impl Debug for NullIncluder
sourceimpl<'t> Includer<'t> for NullIncluder
impl<'t> Includer<'t> for NullIncluder
type Error = Void
fn include_pages(
&mut self,
_includes: &[IncludeRef<'t>]
) -> Result<Vec<FetchedPage<'t>>, Void>
fn no_such_include(
&mut self,
_page_ref: &PageRef<'t>
) -> Result<Cow<'t, str>, Void>
Auto Trait Implementations
impl RefUnwindSafe for NullIncluder
impl Send for NullIncluder
impl Sync for NullIncluder
impl Unpin for NullIncluder
impl UnwindSafe for NullIncluder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more