Struct flatpage::FlatPageStore
source · [−]pub struct FlatPageStore { /* private fields */ }
Expand description
A store for FlatPageMeta
Implementations
sourceimpl FlatPageStore
impl FlatPageStore
sourcepub fn meta_by_url(&self, url: &str) -> Option<&FlatPageMeta>
pub fn meta_by_url(&self, url: &str) -> Option<&FlatPageMeta>
Returns a page metadata by its url
sourcepub fn meta_by_stem(&self, stem: &str) -> Option<&FlatPageMeta>
pub fn meta_by_stem(&self, stem: &str) -> Option<&FlatPageMeta>
Returns a page metadata by the file stem
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FlatPageStore
impl Send for FlatPageStore
impl Sync for FlatPageStore
impl Unpin for FlatPageStore
impl UnwindSafe for FlatPageStore
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