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