Struct skia_bindings::SkDataTable
source · #[repr(C)]#[repr(align(8))]pub struct SkDataTable {
pub _bindgen_opaque_blob: [u64; 6],
}
Fields§
§_bindgen_opaque_blob: [u64; 6]
Implementations§
source§impl SkDataTable
impl SkDataTable
pub unsafe fn atSize(&self, index: c_int) -> usize
pub unsafe fn at(&self, index: c_int, size: *mut usize) -> *const c_void
pub unsafe fn MakeEmpty() -> sk_sp<SkDataTable>
pub unsafe fn MakeCopyArrays( ptrs: *const *const c_void, sizes: *const usize, count: c_int ) -> sk_sp<SkDataTable>
pub unsafe fn MakeCopyArray( array: *const c_void, elemSize: usize, count: c_int ) -> sk_sp<SkDataTable>
pub unsafe fn MakeArrayProc( array: *const c_void, elemSize: usize, count: c_int, proc_: SkDataTable_FreeProc, context: *mut c_void ) -> sk_sp<SkDataTable>
Trait Implementations§
source§impl Clone for SkDataTable
impl Clone for SkDataTable
source§fn clone(&self) -> SkDataTable
fn clone(&self) -> SkDataTable
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 SkDataTable
impl Debug for SkDataTable
impl Copy for SkDataTable
Auto Trait Implementations§
impl RefUnwindSafe for SkDataTable
impl Send for SkDataTable
impl Sync for SkDataTable
impl Unpin for SkDataTable
impl UnwindSafe for SkDataTable
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