pub struct Deco {
pub rect: Rect,
pub color: Rgba,
pub behind: bool,
pub para: usize,
}Expand description
An underline, strikethrough or highlight box.
Fields§
§rect: Rect§color: Rgba§behind: boolHighlights draw behind text.
para: usizeParagraph the decoration belongs to (by-paragraph animation).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Deco
impl RefUnwindSafe for Deco
impl Send for Deco
impl Sync for Deco
impl Unpin for Deco
impl UnsafeUnpin for Deco
impl UnwindSafe for Deco
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