pub struct TextItalic {
pub text: RichText,
}Expand description
Fields§
§text: RichTextTrait Implementations§
Source§impl Clone for TextItalic
impl Clone for TextItalic
Source§fn clone(&self) -> TextItalic
fn clone(&self) -> TextItalic
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 TextItalic
impl Debug for TextItalic
Source§impl Deserializable for TextItalic
impl Deserializable for TextItalic
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<TextItalic> for RichText
impl From<TextItalic> for RichText
Source§fn from(x: TextItalic) -> Self
fn from(x: TextItalic) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TextItalic
impl Identifiable for TextItalic
Source§const CONSTRUCTOR_ID: u32 = 0xd912a59c
const CONSTRUCTOR_ID: u32 = 0xd912a59c
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TextItalic
impl PartialEq for TextItalic
Source§impl Serializable for TextItalic
impl Serializable for TextItalic
Source§impl TryFrom<RichText> for TextItalic
impl TryFrom<RichText> for TextItalic
impl StructuralPartialEq for TextItalic
Auto Trait Implementations§
impl Freeze for TextItalic
impl RefUnwindSafe for TextItalic
impl Send for TextItalic
impl Sync for TextItalic
impl Unpin for TextItalic
impl UnsafeUnpin for TextItalic
impl UnwindSafe for TextItalic
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