Struct skia_bindings::Sk3DView
source · #[repr(C)]pub struct Sk3DView {
pub fRec: *mut Sk3DView_Rec,
pub fInitialRec: Sk3DView_Rec,
pub fCamera: SkCamera3D,
}
Fields§
§fRec: *mut Sk3DView_Rec
§fInitialRec: Sk3DView_Rec
§fCamera: SkCamera3D
Implementations§
source§impl Sk3DView
impl Sk3DView
pub unsafe fn save(&mut self)
pub unsafe fn restore(&mut self)
pub unsafe fn translate(&mut self, x: SkScalar, y: SkScalar, z: SkScalar)
pub unsafe fn rotateX(&mut self, deg: SkScalar)
pub unsafe fn rotateY(&mut self, deg: SkScalar)
pub unsafe fn rotateZ(&mut self, deg: SkScalar)
pub unsafe fn getMatrix(&self, arg1: *mut SkMatrix)
pub unsafe fn applyToCanvas(&self, arg1: *mut SkCanvas)
pub unsafe fn dotWithNormal( &self, dx: SkScalar, dy: SkScalar, dz: SkScalar ) -> SkScalar
pub unsafe fn new() -> Self
pub unsafe fn destruct(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Sk3DView
impl !Send for Sk3DView
impl !Sync for Sk3DView
impl Unpin for Sk3DView
impl UnwindSafe for Sk3DView
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