pub struct FootnoteSeparator {
pub width: Option<String>,
pub style: Option<String>,
pub margin: Option<String>,
}Expand description
Configuration for the footnote separator line.
Fields§
§width: Option<String>Width of the separator (e.g., “33%”, “100px”).
style: Option<String>Line style (e.g., “solid”, “dashed”, “dotted”).
margin: Option<String>Margin above and below (e.g., “8px”).
Implementations§
Source§impl FootnoteSeparator
impl FootnoteSeparator
Sourcepub fn with_width(self, width: impl Into<String>) -> Self
pub fn with_width(self, width: impl Into<String>) -> Self
Set the separator width.
Sourcepub fn with_style(self, style: impl Into<String>) -> Self
pub fn with_style(self, style: impl Into<String>) -> Self
Set the line style.
Trait Implementations§
Source§impl Clone for FootnoteSeparator
impl Clone for FootnoteSeparator
Source§fn clone(&self) -> FootnoteSeparator
fn clone(&self) -> FootnoteSeparator
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 FootnoteSeparator
impl Debug for FootnoteSeparator
Source§impl Default for FootnoteSeparator
impl Default for FootnoteSeparator
Source§impl<'de> Deserialize<'de> for FootnoteSeparator
impl<'de> Deserialize<'de> for FootnoteSeparator
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
Source§impl PartialEq for FootnoteSeparator
impl PartialEq for FootnoteSeparator
Source§impl Serialize for FootnoteSeparator
impl Serialize for FootnoteSeparator
impl Eq for FootnoteSeparator
impl StructuralPartialEq for FootnoteSeparator
Auto Trait Implementations§
impl Freeze for FootnoteSeparator
impl RefUnwindSafe for FootnoteSeparator
impl Send for FootnoteSeparator
impl Sync for FootnoteSeparator
impl Unpin for FootnoteSeparator
impl UnsafeUnpin for FootnoteSeparator
impl UnwindSafe for FootnoteSeparator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.