pub enum CharacterReplacementType {
Copyright,
Registered,
Trademark,
EmDashSurroundedBySpaces,
EmDashWithoutSpace,
Ellipsis,
SingleRightArrow,
DoubleRightArrow,
SingleLeftArrow,
DoubleLeftArrow,
TypographicApostrophe,
CharacterReference(String),
}Expand description
Specifies which character replacement is being rendered.
Variants§
Copyright
Copyright (C).
Registered
Registered (R).
Trademark
Trademark (TM).
EmDashSurroundedBySpaces
Em-dash surrounded by spaces --.
EmDashWithoutSpace
Em-dash without space --.
Ellipsis
Ellipsis ....
SingleRightArrow
Single right arrow ->.
DoubleRightArrow
Double right arrow =>.
SingleLeftArrow
Single left arrow <-.
DoubleLeftArrow
Double left arrow <=.
TypographicApostrophe
Typographic apostrophe ' within a word.
CharacterReference(String)
Character reference &___;.
Trait Implementations§
Source§impl Clone for CharacterReplacementType
impl Clone for CharacterReplacementType
Source§fn clone(&self) -> CharacterReplacementType
fn clone(&self) -> CharacterReplacementType
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 CharacterReplacementType
impl Debug for CharacterReplacementType
Source§impl PartialEq for CharacterReplacementType
impl PartialEq for CharacterReplacementType
impl Eq for CharacterReplacementType
impl StructuralPartialEq for CharacterReplacementType
Auto Trait Implementations§
impl Freeze for CharacterReplacementType
impl RefUnwindSafe for CharacterReplacementType
impl Send for CharacterReplacementType
impl Sync for CharacterReplacementType
impl Unpin for CharacterReplacementType
impl UnwindSafe for CharacterReplacementType
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