pub struct LogoSpec {
pub key: String,
pub position: LogoPosition,
pub width: Option<String>,
}Expand description
A brand logo to overlay on every reveal.js slide. key is an
AssetProvider key — the same namespace page-body image refs use — fetched
by the pandoc backend and embedded as a data URI (see
backends/reveal_brand.rs). Typst layouts have their own logo mechanism
(ResolvedDoc.assets + asset-path) and ignore this field.
Fields§
§key: String§position: LogoPosition§width: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogoSpec
impl<'de> Deserialize<'de> for LogoSpec
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 LogoSpec
impl StructuralPartialEq for LogoSpec
Auto Trait Implementations§
impl Freeze for LogoSpec
impl RefUnwindSafe for LogoSpec
impl Send for LogoSpec
impl Sync for LogoSpec
impl Unpin for LogoSpec
impl UnsafeUnpin for LogoSpec
impl UnwindSafe for LogoSpec
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