[−][src]Struct skia_bindings::SkVertices
Fields
_base: SkNVRefCnt
fUniqueID: u32
fPositions: *mut SkPoint
fTexs: *mut SkPoint
fColors: *mut SkColor
fBoneIndices: *mut SkVertices_BoneIndices
fBoneWeights: *mut SkVertices_BoneWeights
fIndices: *mut u16
fBounds: SkRect
fVertexCnt: c_int
fIndexCnt: c_int
fIsVolatile: bool
fMode: SkVertices_VertexMode
Methods
impl SkVertices
[src]
pub unsafe fn MakeCopy(
mode: SkVertices_VertexMode,
vertexCount: c_int,
positions: *const SkPoint,
texs: *const SkPoint,
colors: *const SkColor,
boneIndices: *const SkVertices_BoneIndices,
boneWeights: *const SkVertices_BoneWeights,
indexCount: c_int,
indices: *const u16,
isVolatile: bool
) -> sk_sp<SkVertices>
[src]
mode: SkVertices_VertexMode,
vertexCount: c_int,
positions: *const SkPoint,
texs: *const SkPoint,
colors: *const SkColor,
boneIndices: *const SkVertices_BoneIndices,
boneWeights: *const SkVertices_BoneWeights,
indexCount: c_int,
indices: *const u16,
isVolatile: bool
) -> sk_sp<SkVertices>
pub unsafe fn applyBones(
&self,
bones: *const SkVertices_Bone,
boneCount: c_int
) -> sk_sp<SkVertices>
[src]
&self,
bones: *const SkVertices_Bone,
boneCount: c_int
) -> sk_sp<SkVertices>
pub unsafe fn approximateSize(&self) -> usize
[src]
pub unsafe fn Decode(buffer: *const c_void, length: usize) -> sk_sp<SkVertices>
[src]
pub unsafe fn encode(&self) -> sk_sp<SkData>
[src]
Auto Trait Implementations
impl !Send for SkVertices
impl Unpin for SkVertices
impl !Sync for SkVertices
impl RefUnwindSafe for SkVertices
impl UnwindSafe for SkVertices
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,