pub struct TextRunSnapshot {
pub text: String,
pub style: TextStyle,
}Fields§
§text: String§style: TextStyleTrait Implementations§
Source§impl Clone for TextRunSnapshot
impl Clone for TextRunSnapshot
Source§impl Debug for TextRunSnapshot
impl Debug for TextRunSnapshot
Source§impl<'de> Deserialize<'de> for TextRunSnapshot
impl<'de> Deserialize<'de> for TextRunSnapshot
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 PartialEq for TextRunSnapshot
impl PartialEq for TextRunSnapshot
Source§impl Serialize for TextRunSnapshot
impl Serialize for TextRunSnapshot
impl StructuralPartialEq for TextRunSnapshot
Auto Trait Implementations§
impl Freeze for TextRunSnapshot
impl RefUnwindSafe for TextRunSnapshot
impl Send for TextRunSnapshot
impl Sync for TextRunSnapshot
impl Unpin for TextRunSnapshot
impl UnsafeUnpin for TextRunSnapshot
impl UnwindSafe for TextRunSnapshot
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