pub struct Border {
pub color: PackedSrgb,
pub width: f32,
pub radius: Radius,
}Expand description
A struct defining a border.
Fields§
§color: PackedSrgbThe color of the border.
width: f32The width of the border in logical points.
radius: RadiusThe radius of the border in logical points.
Trait Implementations§
impl Copy for Border
impl StructuralPartialEq for Border
Auto Trait Implementations§
impl Freeze for Border
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnwindSafe for Border
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