Struct blade_graphics::ScissorRect
source · pub struct ScissorRect {
pub x: u32,
pub y: u32,
pub w: u32,
pub h: u32,
}Fields§
§x: u32§y: u32§w: u32§h: u32Trait Implementations§
source§impl Clone for ScissorRect
impl Clone for ScissorRect
source§fn clone(&self) -> ScissorRect
fn clone(&self) -> ScissorRect
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ScissorRect
impl Debug for ScissorRect
source§impl PartialEq for ScissorRect
impl PartialEq for ScissorRect
source§fn eq(&self, other: &ScissorRect) -> bool
fn eq(&self, other: &ScissorRect) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ScissorRect
Auto Trait Implementations§
impl RefUnwindSafe for ScissorRect
impl Send for ScissorRect
impl Sync for ScissorRect
impl Unpin for ScissorRect
impl UnwindSafe for ScissorRect
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