pub struct Generated {
pub file: &'static str,
pub region: Option<&'static str>,
pub render: fn(&dyn Fn(&str) -> String) -> String,
}Expand description
A page, or a region of one, written from the code.
Fields§
§file: &'static strFrom the repository’s root.
region: Option<&'static str>The region’s name, or None for the whole file.
render: fn(&dyn Fn(&str) -> String) -> StringAuto Trait Implementations§
impl Freeze for Generated
impl RefUnwindSafe for Generated
impl Send for Generated
impl Sync for Generated
impl Unpin for Generated
impl UnsafeUnpin for Generated
impl UnwindSafe for Generated
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