pub struct TextUnderline {
pub text: RichText,
}Expand description
Fields§
§text: RichTextTrait Implementations§
Source§impl Clone for TextUnderline
impl Clone for TextUnderline
Source§fn clone(&self) -> TextUnderline
fn clone(&self) -> TextUnderline
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 TextUnderline
impl Debug for TextUnderline
Source§impl Deserializable for TextUnderline
impl Deserializable for TextUnderline
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<TextUnderline> for RichText
impl From<TextUnderline> for RichText
Source§fn from(x: TextUnderline) -> Self
fn from(x: TextUnderline) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TextUnderline
impl Identifiable for TextUnderline
Source§const CONSTRUCTOR_ID: u32 = 0xc12622c4
const CONSTRUCTOR_ID: u32 = 0xc12622c4
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TextUnderline
impl PartialEq for TextUnderline
Source§impl Serializable for TextUnderline
impl Serializable for TextUnderline
Source§impl TryFrom<RichText> for TextUnderline
impl TryFrom<RichText> for TextUnderline
impl StructuralPartialEq for TextUnderline
Auto Trait Implementations§
impl Freeze for TextUnderline
impl RefUnwindSafe for TextUnderline
impl Send for TextUnderline
impl Sync for TextUnderline
impl Unpin for TextUnderline
impl UnsafeUnpin for TextUnderline
impl UnwindSafe for TextUnderline
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