pub struct Theme {
pub root: PathBuf,
pub name: String,
pub renderer: Tera,
// some fields omitted
}
Expand description
blog theme object
Fields
root: PathBuf
theme root directory
name: String
theme name
renderer: Tera
theme renderer
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Theme
impl !UnwindSafe for Theme
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.