pub enum RenderType {
Prepend(String),
Append(String),
Both(String, String),
EntirePage(String),
}Expand description
typ daného renderu (a jeho obsah). Určuje chování, jakým bude zacházeno z obsahem článku
Variants§
Prepend(String)
Přidá vyrenderovaný obsah na začátek
Append(String)
Přidá vyrenderovaný obsah na konec
Both(String, String)
Přidá něco na začátek a něco na konec
EntirePage(String)
Přepíše stárnku
Trait Implementations§
Source§impl Clone for RenderType
impl Clone for RenderType
Source§fn clone(&self) -> RenderType
fn clone(&self) -> RenderType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenderType
impl Debug for RenderType
Source§impl Display for RenderType
impl Display for RenderType
Auto Trait Implementations§
impl Freeze for RenderType
impl RefUnwindSafe for RenderType
impl Send for RenderType
impl Sync for RenderType
impl Unpin for RenderType
impl UnsafeUnpin for RenderType
impl UnwindSafe for RenderType
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