pub struct BrandSpec {
pub name: String,
pub auto_layout: AutoLayout,
pub palette: BTreeMap<String, String>,
pub fonts: BTreeMap<String, String>,
pub logo: Option<LogoSpec>,
}Fields§
§name: String§auto_layout: AutoLayout§palette: BTreeMap<String, String>§fonts: BTreeMap<String, String>§logo: Option<LogoSpec>Optional logo overlaid on every reveal.js slide (issue #57). None
(the default, and what an existing brand.toml with no [logo]
table parses to) means no overlay — pandoc’s html-reveal arm skips
the fetch/embed entirely, so output stays byte-identical to before
this field existed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BrandSpec
impl<'de> Deserialize<'de> for BrandSpec
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 BrandSpec
impl StructuralPartialEq for BrandSpec
Auto Trait Implementations§
impl Freeze for BrandSpec
impl RefUnwindSafe for BrandSpec
impl Send for BrandSpec
impl Sync for BrandSpec
impl Unpin for BrandSpec
impl UnsafeUnpin for BrandSpec
impl UnwindSafe for BrandSpec
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