pub struct Thickness {
pub left: f64,
pub top: f64,
pub right: f64,
pub bottom: f64,
}
Expand description
Used to describes a thickness e.g a border thickness.
Fields§
§left: f64
Left of thickness.
top: f64
Top of thickness.
right: f64
Right of thickness.
bottom: f64
Bottom of thickness.
Implementations§
Trait Implementations§
impl Copy for Thickness
impl StructuralPartialEq for Thickness
Auto Trait Implementations§
impl Freeze for Thickness
impl RefUnwindSafe for Thickness
impl Send for Thickness
impl Sync for Thickness
impl Unpin for Thickness
impl UnwindSafe for Thickness
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