Struct skia_bindings::SkRect
source · #[repr(C)]pub struct SkRect {
pub fLeft: SkScalar,
pub fTop: SkScalar,
pub fRight: SkScalar,
pub fBottom: SkScalar,
}
Fields§
§fLeft: SkScalar
§fTop: SkScalar
§fRight: SkScalar
§fBottom: SkScalar
Implementations§
source§impl SkRect
impl SkRect
pub unsafe fn toQuad(&self, quad: *mut SkPoint)
pub unsafe fn setBoundsCheck( &mut self, pts: *const SkPoint, count: c_int ) -> bool
pub unsafe fn setBoundsNoCheck(&mut self, pts: *const SkPoint, count: c_int)
pub unsafe fn intersect(&mut self, r: *const SkRect) -> bool
pub unsafe fn intersect1(&mut self, a: *const SkRect, b: *const SkRect) -> bool
pub unsafe fn join(&mut self, r: *const SkRect)
pub unsafe fn dump(&self, asHex: bool)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SkRect
impl Send for SkRect
impl Sync for SkRect
impl Unpin for SkRect
impl UnwindSafe for SkRect
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