pub struct Border { /* private fields */ }
Expand description
Describes a border of a shape with border brush
, thickness
and radius
.
Implementations§
Source§impl Border
impl Border
Sourcepub fn create() -> BorderBuilder
pub fn create() -> BorderBuilder
Creates a new BorderBuilder
with default values.
Sourcepub fn set_thickness(&mut self, thickness: Thickness)
pub fn set_thickness(&mut self, thickness: Thickness)
Sets the thickness.
Sourcepub fn set_radius(&mut self, radius: f64)
pub fn set_radius(&mut self, radius: f64)
Sets the radius.
Trait Implementations§
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