Struct skia_bindings::SkPixelRef
source · #[repr(C)]#[repr(align(8))]pub struct SkPixelRef {
pub _bindgen_opaque_blob: [u64; 12],
}
Fields§
§_bindgen_opaque_blob: [u64; 12]
Implementations§
source§impl SkPixelRef
impl SkPixelRef
pub unsafe fn getGenerationID(&self) -> u32
pub unsafe fn notifyPixelsChanged(&mut self)
pub unsafe fn setImmutable(&mut self)
pub unsafe fn addGenIDChangeListener( &mut self, listener: sk_sp<SkIDChangeListener> )
pub unsafe fn android_only_reset( &mut self, width: c_int, height: c_int, rowBytes: usize )
pub unsafe fn new( width: c_int, height: c_int, addr: *mut c_void, rowBytes: usize ) -> Self
Trait Implementations§
source§impl Clone for SkPixelRef
impl Clone for SkPixelRef
source§fn clone(&self) -> SkPixelRef
fn clone(&self) -> SkPixelRef
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 SkPixelRef
impl Debug for SkPixelRef
impl Copy for SkPixelRef
Auto Trait Implementations§
impl RefUnwindSafe for SkPixelRef
impl Send for SkPixelRef
impl Sync for SkPixelRef
impl Unpin for SkPixelRef
impl UnwindSafe for SkPixelRef
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