pub struct Typography {
pub quotes: bool,
pub ellipses: Ellipses,
pub backticks: Backticks,
pub dashes: Dashes,
pub opening_quotes: Option<QuoteCharacters>,
pub closing_quotes: Option<QuoteCharacters>,
}Expand description
What a Typographer replaces, as retext-smartypants’ options name it.
Fields§
§quotes: bool§ellipses: Ellipses§backticks: Backticks§dashes: Dashes§opening_quotes: Option<QuoteCharacters>§closing_quotes: Option<QuoteCharacters>Trait Implementations§
Source§impl Clone for Typography
impl Clone for Typography
Source§impl Debug for Typography
impl Debug for Typography
impl Eq for Typography
Source§impl PartialEq for Typography
impl PartialEq for Typography
impl StructuralPartialEq for Typography
Auto Trait Implementations§
impl Freeze for Typography
impl RefUnwindSafe for Typography
impl Send for Typography
impl Sync for Typography
impl Unpin for Typography
impl UnsafeUnpin for Typography
impl UnwindSafe for Typography
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.