pub struct TextFixed {
pub text: RichText,
}Expand description
Fields§
§text: RichTextTrait Implementations§
Source§impl Deserializable for TextFixed
impl Deserializable for TextFixed
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 Identifiable for TextFixed
impl Identifiable for TextFixed
Source§const CONSTRUCTOR_ID: u32 = 0x6c3f19b9
const CONSTRUCTOR_ID: u32 = 0x6c3f19b9
The constructor ID as specified in the TL schema.
Source§impl Serializable for TextFixed
impl Serializable for TextFixed
impl StructuralPartialEq for TextFixed
Auto Trait Implementations§
impl Freeze for TextFixed
impl RefUnwindSafe for TextFixed
impl Send for TextFixed
impl Sync for TextFixed
impl Unpin for TextFixed
impl UnsafeUnpin for TextFixed
impl UnwindSafe for TextFixed
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