pub struct LineDecoration {
pub position: f32,
pub thickness: f32,
}Fields§
§position: f320.0 to 1.0, where 0.0 is the top of the text line and 1.0 is the bottom.
thickness: f32Thickness of the line as a fraction of the cell height (0.0 to 1.0)
Implementations§
Trait Implementations§
Source§impl Clone for LineDecoration
impl Clone for LineDecoration
Source§fn clone(&self) -> LineDecoration
fn clone(&self) -> LineDecoration
Returns a duplicate of the value. Read more
1.0.0 · 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 LineDecoration
impl Debug for LineDecoration
Source§impl PartialEq for LineDecoration
impl PartialEq for LineDecoration
impl Copy for LineDecoration
impl StructuralPartialEq for LineDecoration
Auto Trait Implementations§
impl Freeze for LineDecoration
impl RefUnwindSafe for LineDecoration
impl Send for LineDecoration
impl Sync for LineDecoration
impl Unpin for LineDecoration
impl UnwindSafe for LineDecoration
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