Struct avenger_wgpu::canvas::ClipRect
source · pub struct ClipRect {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}Fields§
§x: u32§y: u32§width: u32§height: u32Implementations§
source§impl ClipRect
impl ClipRect
pub fn maybe_from_group_bounds( scale: f32, bounds: GroupBounds, clip: bool ) -> Option<Self>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ClipRect
impl Send for ClipRect
impl Sync for ClipRect
impl Unpin 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