pub struct GenerationContext {
pub mode: ThemeMode,
pub template_name: String,
pub chroma: ChromaStrategy,
pub output_dir: PathBuf,
pub seed: Option<String>,
}Fields§
§mode: ThemeMode§template_name: String§chroma: ChromaStrategy§output_dir: PathBuf§seed: Option<String>Trait Implementations§
Source§impl Clone for GenerationContext
impl Clone for GenerationContext
Source§fn clone(&self) -> GenerationContext
fn clone(&self) -> GenerationContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GenerationContext
impl Debug for GenerationContext
Source§impl Default for GenerationContext
impl Default for GenerationContext
Source§fn default() -> GenerationContext
fn default() -> GenerationContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GenerationContext
impl<'de> Deserialize<'de> for GenerationContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GenerationContext
Source§impl PartialEq for GenerationContext
impl PartialEq for GenerationContext
Source§impl Serialize for GenerationContext
impl Serialize for GenerationContext
impl StructuralPartialEq for GenerationContext
Auto Trait Implementations§
impl Freeze for GenerationContext
impl RefUnwindSafe for GenerationContext
impl Send for GenerationContext
impl Sync for GenerationContext
impl Unpin for GenerationContext
impl UnsafeUnpin for GenerationContext
impl UnwindSafe for GenerationContext
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