pub struct FootnotesConfig {
pub numbering: Option<String>,
pub position: Option<FootnotePosition>,
pub separator: Option<FootnoteSeparator>,
pub style: Option<Style>,
}Expand description
Footnotes configuration.
Fields§
§numbering: Option<String>Numbering scheme (e.g., “decimal”, “lower-alpha”, “lower-roman”, “symbols”).
position: Option<FootnotePosition>Where footnotes are placed.
separator: Option<FootnoteSeparator>Separator line configuration.
style: Option<Style>Style for footnote text.
Implementations§
Source§impl FootnotesConfig
impl FootnotesConfig
Sourcepub fn with_numbering(self, numbering: impl Into<String>) -> Self
pub fn with_numbering(self, numbering: impl Into<String>) -> Self
Set the numbering scheme.
Sourcepub const fn with_position(self, position: FootnotePosition) -> Self
pub const fn with_position(self, position: FootnotePosition) -> Self
Set the footnote position.
Sourcepub fn with_separator(self, separator: FootnoteSeparator) -> Self
pub fn with_separator(self, separator: FootnoteSeparator) -> Self
Set the separator configuration.
Trait Implementations§
Source§impl Clone for FootnotesConfig
impl Clone for FootnotesConfig
Source§fn clone(&self) -> FootnotesConfig
fn clone(&self) -> FootnotesConfig
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 FootnotesConfig
impl Debug for FootnotesConfig
Source§impl Default for FootnotesConfig
impl Default for FootnotesConfig
Source§impl<'de> Deserialize<'de> for FootnotesConfig
impl<'de> Deserialize<'de> for FootnotesConfig
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 FootnotesConfig
impl PartialEq for FootnotesConfig
Source§impl Serialize for FootnotesConfig
impl Serialize for FootnotesConfig
impl StructuralPartialEq for FootnotesConfig
Auto Trait Implementations§
impl Freeze for FootnotesConfig
impl RefUnwindSafe for FootnotesConfig
impl Send for FootnotesConfig
impl Sync for FootnotesConfig
impl Unpin for FootnotesConfig
impl UnsafeUnpin for FootnotesConfig
impl UnwindSafe for FootnotesConfig
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