Struct skia_bindings::SkDrawable
source · #[repr(C)]#[repr(align(8))]pub struct SkDrawable {
pub _bindgen_opaque_blob: [u64; 2],
}
Fields§
§_bindgen_opaque_blob: [u64; 2]
Implementations§
source§impl SkDrawable
impl SkDrawable
pub unsafe fn draw(&mut self, arg1: *mut SkCanvas, arg2: *const SkMatrix)
pub unsafe fn draw1(&mut self, arg1: *mut SkCanvas, x: SkScalar, y: SkScalar)
pub unsafe fn makePictureSnapshot(&mut self) -> sk_sp<SkPicture>
pub unsafe fn getGenerationID(&mut self) -> u32
pub unsafe fn getBounds(&mut self) -> SkRect
pub unsafe fn approximateBytesUsed(&mut self) -> usize
pub unsafe fn notifyDrawingChanged(&mut self)
pub unsafe fn new() -> Self
Trait Implementations§
source§impl Clone for SkDrawable
impl Clone for SkDrawable
source§fn clone(&self) -> SkDrawable
fn clone(&self) -> SkDrawable
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 SkDrawable
impl Debug for SkDrawable
impl Copy for SkDrawable
Auto Trait Implementations§
impl RefUnwindSafe for SkDrawable
impl Send for SkDrawable
impl Sync for SkDrawable
impl Unpin for SkDrawable
impl UnwindSafe for SkDrawable
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