pub struct RRectDef {
pub radius: f32,
}Expand description
圆角矩形定义(用于 Clip / 装饰)
Fields§
§radius: f32圆角半径(各角同,像素)
Implementations§
Trait Implementations§
impl Copy for RRectDef
impl StructuralPartialEq for RRectDef
Auto Trait Implementations§
impl Freeze for RRectDef
impl RefUnwindSafe for RRectDef
impl Send for RRectDef
impl Sync for RRectDef
impl Unpin for RRectDef
impl UnsafeUnpin for RRectDef
impl UnwindSafe for RRectDef
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