pub struct EmojiParserOptions {
pub blacklist: Option<Rc<AsciiWordSet>>,
}Expand description
Options for the emoji parser.
Fields§
§blacklist: Option<Rc<AsciiWordSet>>An optional set of shortcodes to ignore when parsing emojis. If provided, any shortcode in this set will not be parsed as an emoji.
Trait Implementations§
Source§impl Clone for EmojiParserOptions
impl Clone for EmojiParserOptions
Source§fn clone(&self) -> EmojiParserOptions
fn clone(&self) -> EmojiParserOptions
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 EmojiParserOptions
impl Debug for EmojiParserOptions
Source§impl Default for EmojiParserOptions
impl Default for EmojiParserOptions
Source§fn default() -> EmojiParserOptions
fn default() -> EmojiParserOptions
Returns the “default value” for a type. Read more
impl ParserOptions for EmojiParserOptions
Auto Trait Implementations§
impl Freeze for EmojiParserOptions
impl RefUnwindSafe for EmojiParserOptions
impl !Send for EmojiParserOptions
impl !Sync for EmojiParserOptions
impl Unpin for EmojiParserOptions
impl UnsafeUnpin for EmojiParserOptions
impl UnwindSafe for EmojiParserOptions
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