pub struct SpanStyle {
pub font: FontId,
pub size: f64,
pub color: Color,
pub bold: bool,
pub italic: bool,
}Expand description
The effective style at a char offset (flat boxes report their flat style).
Fields§
§font: FontId§size: f64§color: Color§bold: bool§italic: boolTrait Implementations§
impl StructuralPartialEq for SpanStyle
Auto Trait Implementations§
impl Forget for SpanStyle
impl Freeze for SpanStyle
impl Move for SpanStyle
impl RefUnwindSafe for SpanStyle
impl Send for SpanStylewhere
RawVecInner: Send,
impl Sync for SpanStylewhere
RawVecInner: Sync,
impl Unpin for SpanStyle
impl UnsafeUnpin for SpanStyle
impl UnwindSafe for SpanStylewhere
RawVecInner: UnwindSafe,
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