Struct lyon_path::builder::BorderRadii
source · pub struct BorderRadii {
pub top_left: f32,
pub top_right: f32,
pub bottom_left: f32,
pub bottom_right: f32,
}
Expand description
The radius of each corner of a rounded rectangle.
Fields§
§top_left: f32
§top_right: f32
§bottom_left: f32
§bottom_right: f32
Implementations§
Trait Implementations§
source§impl Clone for BorderRadii
impl Clone for BorderRadii
source§fn clone(&self) -> BorderRadii
fn clone(&self) -> BorderRadii
Returns a copy 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 BorderRadii
impl Debug for BorderRadii
source§impl Default for BorderRadii
impl Default for BorderRadii
source§fn default() -> BorderRadii
fn default() -> BorderRadii
Returns the “default value” for a type. Read more
source§impl Display for BorderRadii
impl Display for BorderRadii
source§impl PartialEq for BorderRadii
impl PartialEq for BorderRadii
source§impl PartialOrd for BorderRadii
impl PartialOrd for BorderRadii
impl Copy for BorderRadii
impl StructuralPartialEq for BorderRadii
Auto Trait Implementations§
impl Freeze for BorderRadii
impl RefUnwindSafe for BorderRadii
impl Send for BorderRadii
impl Sync for BorderRadii
impl Unpin for BorderRadii
impl UnwindSafe for BorderRadii
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)