Struct skia_bindings::SkPath_Iter
source · #[repr(C)]pub struct SkPath_Iter {
pub fPts: *const SkPoint,
pub fVerbs: *const u8,
pub fVerbStop: *const u8,
pub fConicWeights: *const SkScalar,
pub fMoveTo: SkPoint,
pub fLastPt: SkPoint,
pub fForceClose: bool,
pub fNeedClose: bool,
pub fCloseLine: bool,
}
Fields§
§fPts: *const SkPoint
§fVerbs: *const u8
§fVerbStop: *const u8
§fConicWeights: *const SkScalar
§fMoveTo: SkPoint
§fLastPt: SkPoint
§fForceClose: bool
§fNeedClose: bool
§fCloseLine: bool
Implementations§
source§impl SkPath_Iter
impl SkPath_Iter
pub unsafe fn setPath(&mut self, path: *const SkPath, forceClose: bool)
pub unsafe fn next(&mut self, pts: *mut SkPoint) -> SkPath_Verb
pub unsafe fn isClosedContour(&self) -> bool
pub unsafe fn new() -> Self
pub unsafe fn new1(path: *const SkPath, forceClose: bool) -> Self
Trait Implementations§
source§impl Clone for SkPath_Iter
impl Clone for SkPath_Iter
source§fn clone(&self) -> SkPath_Iter
fn clone(&self) -> SkPath_Iter
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 SkPath_Iter
impl Debug for SkPath_Iter
impl Copy for SkPath_Iter
Auto Trait Implementations§
impl RefUnwindSafe for SkPath_Iter
impl !Send for SkPath_Iter
impl !Sync for SkPath_Iter
impl Unpin for SkPath_Iter
impl UnwindSafe for SkPath_Iter
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