pub struct FlexSpan {
pub type: Option<String>,
pub text: Option<String>,
pub size: Option<String>,
pub color: Option<String>,
pub weight: Option<Weight>,
pub style: Option<Style>,
pub decoration: Option<Decoration>,
}
Fields§
§type: Option<String>
§text: Option<String>
§size: Option<String>
§color: Option<String>
§weight: Option<Weight>
§style: Option<Style>
§decoration: Option<Decoration>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FlexSpan
impl<'de> Deserialize<'de> for FlexSpan
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
impl StructuralPartialEq for FlexSpan
Auto Trait Implementations§
impl Freeze for FlexSpan
impl RefUnwindSafe for FlexSpan
impl Send for FlexSpan
impl Sync for FlexSpan
impl Unpin for FlexSpan
impl UnwindSafe for FlexSpan
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