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