pub struct ClipRect {
pub left: f32,
pub top: f32,
pub right: f32,
pub bottom: f32,
pub op: ClipOp,
}Expand description
Rectangular clip with a clipping operation. The rect is relative to the element bounds, in dp.
Fields§
§left: f32§top: f32§right: f32§bottom: f32§op: ClipOpTrait Implementations§
Auto Trait Implementations§
impl Freeze for ClipRect
impl RefUnwindSafe for ClipRect
impl Send for ClipRect
impl Sync for ClipRect
impl Unpin for ClipRect
impl UnsafeUnpin for ClipRect
impl UnwindSafe for ClipRect
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