pub struct EmojiElement {
pub name: String,
pub unicode: Option<String>,
/* private fields */
}Expand description
Fields§
§name: String§unicode: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for EmojiElement
impl Clone for EmojiElement
Source§impl Debug for EmojiElement
impl Debug for EmojiElement
Source§impl<'de> Deserialize<'de> for EmojiElement
impl<'de> Deserialize<'de> for EmojiElement
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 From<EmojiElement> for RichTextElement
impl From<EmojiElement> for RichTextElement
Source§fn from(value: EmojiElement) -> Self
fn from(value: EmojiElement) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EmojiElement
impl PartialEq for EmojiElement
Source§impl Serialize for EmojiElement
impl Serialize for EmojiElement
impl StructuralPartialEq for EmojiElement
Auto Trait Implementations§
impl Freeze for EmojiElement
impl RefUnwindSafe for EmojiElement
impl Send for EmojiElement
impl Sync for EmojiElement
impl Unpin for EmojiElement
impl UnsafeUnpin for EmojiElement
impl UnwindSafe for EmojiElement
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