Struct skia_bindings::SkVertices_Builder
source · #[repr(C)]pub struct SkVertices_Builder {
pub fVertices: sk_sp<SkVertices>,
pub fIntermediateFanIndices: u64,
}
Fields§
§fVertices: sk_sp<SkVertices>
§fIntermediateFanIndices: u64
Implementations§
source§impl SkVertices_Builder
impl SkVertices_Builder
pub unsafe fn positions(&mut self) -> *mut SkPoint
pub unsafe fn indices(&mut self) -> *mut u16
pub unsafe fn texCoords(&mut self) -> *mut SkPoint
pub unsafe fn colors(&mut self) -> *mut SkColor
pub unsafe fn detach(&mut self) -> sk_sp<SkVertices>
pub unsafe fn new( mode: SkVertices_VertexMode, vertexCount: c_int, indexCount: c_int, flags: u32 ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SkVertices_Builder
impl !Send for SkVertices_Builder
impl !Sync for SkVertices_Builder
impl Unpin for SkVertices_Builder
impl UnwindSafe for SkVertices_Builder
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