#[repr(C)]pub struct SkColorTable {
pub _base: SkRefCnt,
pub fTable: SkBitmap,
}Fields§
§_base: SkRefCnt§fTable: SkBitmapImplementations§
Source§impl SkColorTable
impl SkColorTable
pub unsafe fn Make( tableA: *const u8, tableR: *const u8, tableG: *const u8, tableB: *const u8, ) -> sk_sp<SkColorTable>
pub unsafe fn flatten(&self, buffer: *mut SkWriteBuffer)
pub unsafe fn Deserialize(buffer: *mut SkReadBuffer) -> sk_sp<SkColorTable>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SkColorTable
impl !RefUnwindSafe for SkColorTable
impl !Send for SkColorTable
impl !Sync for SkColorTable
impl Unpin for SkColorTable
impl UnsafeUnpin for SkColorTable
impl UnwindSafe for SkColorTable
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