pub struct TextNodeWord {
pub font_size: i64,
pub style: Value,
pub words: String,
}Fields§
§font_size: i64字体大小,用于控制文本所用标签名及行高
style: Value补充样式
words: String文本内容
Trait Implementations§
Source§impl Clone for TextNodeWord
impl Clone for TextNodeWord
Source§fn clone(&self) -> TextNodeWord
fn clone(&self) -> TextNodeWord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextNodeWord
impl Debug for TextNodeWord
Source§impl Default for TextNodeWord
impl Default for TextNodeWord
Source§fn default() -> TextNodeWord
fn default() -> TextNodeWord
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextNodeWord
impl<'de> Deserialize<'de> for TextNodeWord
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 TextNodeWord
impl PartialEq for TextNodeWord
Source§fn eq(&self, other: &TextNodeWord) -> bool
fn eq(&self, other: &TextNodeWord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextNodeWord
impl Serialize for TextNodeWord
impl StructuralPartialEq for TextNodeWord
Auto Trait Implementations§
impl Freeze for TextNodeWord
impl RefUnwindSafe for TextNodeWord
impl Send for TextNodeWord
impl Sync for TextNodeWord
impl Unpin for TextNodeWord
impl UnsafeUnpin for TextNodeWord
impl UnwindSafe for TextNodeWord
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