#[repr(C)]pub struct jawt_DrawingSurface {
pub env: *mut JNIEnv,
pub target: jobject,
pub Lock: Option<unsafe extern "C" fn(ds: *mut jawt_DrawingSurface) -> jint>,
pub GetDrawingSurfaceInfo: Option<unsafe extern "C" fn(ds: *mut jawt_DrawingSurface) -> *mut JAWT_DrawingSurfaceInfo>,
pub FreeDrawingSurfaceInfo: Option<unsafe extern "C" fn(dsi: *mut JAWT_DrawingSurfaceInfo)>,
pub Unlock: Option<unsafe extern "C" fn(ds: *mut jawt_DrawingSurface)>,
}
Fields§
§env: *mut JNIEnv
§target: jobject
§Lock: Option<unsafe extern "C" fn(ds: *mut jawt_DrawingSurface) -> jint>
§GetDrawingSurfaceInfo: Option<unsafe extern "C" fn(ds: *mut jawt_DrawingSurface) -> *mut JAWT_DrawingSurfaceInfo>
§FreeDrawingSurfaceInfo: Option<unsafe extern "C" fn(dsi: *mut JAWT_DrawingSurfaceInfo)>
§Unlock: Option<unsafe extern "C" fn(ds: *mut jawt_DrawingSurface)>
Trait Implementations§
Source§impl Clone for jawt_DrawingSurface
impl Clone for jawt_DrawingSurface
Source§fn clone(&self) -> jawt_DrawingSurface
fn clone(&self) -> jawt_DrawingSurface
Returns a duplicate 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 jawt_DrawingSurface
impl Debug for jawt_DrawingSurface
impl Copy for jawt_DrawingSurface
Auto Trait Implementations§
impl Freeze for jawt_DrawingSurface
impl RefUnwindSafe for jawt_DrawingSurface
impl !Send for jawt_DrawingSurface
impl !Sync for jawt_DrawingSurface
impl Unpin for jawt_DrawingSurface
impl UnwindSafe for jawt_DrawingSurface
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