pub struct QuillConfig {
pub name: String,
pub description: String,
pub backend: String,
pub version: Option<String>,
pub author: Option<String>,
pub example_file: Option<String>,
pub glue_file: Option<String>,
pub json_schema_file: Option<String>,
pub fields: HashMap<String, FieldSchema>,
pub metadata: HashMap<String, QuillValue>,
pub typst_config: HashMap<String, QuillValue>,
}Expand description
Quill configuration extracted from Quill.toml
Fields§
§name: StringHuman-readable name
description: StringDescription of the quill
backend: StringBackend identifier (e.g., “typst”)
version: Option<String>Semantic version of the quill
Author of the quill
example_file: Option<String>Example markdown file
glue_file: Option<String>Glue file
json_schema_file: Option<String>JSON schema file
fields: HashMap<String, FieldSchema>Field schemas
metadata: HashMap<String, QuillValue>Additional metadata from Quill section (excluding standard fields)
typst_config: HashMap<String, QuillValue>Typst-specific configuration from [typst] section
Implementations§
Trait Implementations§
Source§impl Clone for QuillConfig
impl Clone for QuillConfig
Source§fn clone(&self) -> QuillConfig
fn clone(&self) -> QuillConfig
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 moreAuto Trait Implementations§
impl Freeze for QuillConfig
impl RefUnwindSafe for QuillConfig
impl Send for QuillConfig
impl Sync for QuillConfig
impl Unpin for QuillConfig
impl UnwindSafe for QuillConfig
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