pub struct ClipShape {
pub rect: Rect,
pub radius: f32,
}Fields§
§rect: Rectsurface 逻辑坐标(AABB;旋转裁剪按包围盒近似)
radius: f32Trait Implementations§
impl Copy for ClipShape
impl StructuralPartialEq for ClipShape
Auto Trait Implementations§
impl Forget for ClipShape
impl Freeze for ClipShape
impl Move for ClipShape
impl RefUnwindSafe for ClipShape
impl Send for ClipShape
impl Sync for ClipShape
impl Unpin for ClipShape
impl UnsafeUnpin for ClipShape
impl UnwindSafe for ClipShape
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