pub struct StyleSpec {
pub fg: Option<RgbaSpec>,
pub bg: Option<RgbaSpec>,
pub underline: Option<RgbaSpec>,
pub attrs: Vec<StyleAttr>,
}Fields§
§fg: Option<RgbaSpec>§bg: Option<RgbaSpec>§underline: Option<RgbaSpec>§attrs: Vec<StyleAttr>Implementations§
Trait Implementations§
impl StructuralPartialEq for StyleSpec
Auto Trait Implementations§
impl Freeze for StyleSpec
impl RefUnwindSafe for StyleSpec
impl Send for StyleSpec
impl Sync for StyleSpec
impl Unpin for StyleSpec
impl UnsafeUnpin for StyleSpec
impl UnwindSafe for StyleSpec
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