pub struct CornerRadiiStyle {
pub top_left: f32,
pub top_right: f32,
pub bottom_left: f32,
pub bottom_right: f32,
}Expand description
Defines individual corner radii for an element.
Fields§
§top_left: f32The radius for the top-left corner.
top_right: f32The radius for the top-right corner.
bottom_left: f32The radius for the bottom-left corner.
bottom_right: f32The radius for the bottom-right corner.
Trait Implementations§
Source§impl Clone for CornerRadiiStyle
impl Clone for CornerRadiiStyle
Source§fn clone(&self) -> CornerRadiiStyle
fn clone(&self) -> CornerRadiiStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CornerRadiiStyle
Source§impl Debug for CornerRadiiStyle
impl Debug for CornerRadiiStyle
Source§impl PartialEq for CornerRadiiStyle
impl PartialEq for CornerRadiiStyle
impl StructuralPartialEq for CornerRadiiStyle
Auto Trait Implementations§
impl Freeze for CornerRadiiStyle
impl RefUnwindSafe for CornerRadiiStyle
impl Send for CornerRadiiStyle
impl Sync for CornerRadiiStyle
impl Unpin for CornerRadiiStyle
impl UnsafeUnpin for CornerRadiiStyle
impl UnwindSafe for CornerRadiiStyle
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§impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
Source§fn embed(self) -> RenderTList<H, TailTarget>
fn embed(self) -> RenderTList<H, TailTarget>
Converts
self into Target.