#[repr(C)]pub struct FONSparams {
pub width: c_int,
pub height: c_int,
pub flags: c_uchar,
pub userPtr: *mut c_void,
pub renderCreate: Option<unsafe extern "C" fn(uptr: *mut c_void, width: c_int, height: c_int) -> c_int>,
pub renderResize: Option<unsafe extern "C" fn(uptr: *mut c_void, width: c_int, height: c_int) -> c_int>,
pub renderExpand: Option<unsafe extern "C" fn(uptr: *mut c_void) -> c_int>,
pub renderUpdate: Option<unsafe extern "C" fn(uptr: *mut c_void, rect: *mut c_int, data: *const c_uchar) -> c_int>,
pub renderDelete: Option<unsafe extern "C" fn(uptr: *mut c_void)>,
}Fields§
§width: c_int§height: c_int§flags: c_uchar§userPtr: *mut c_void§renderCreate: Option<unsafe extern "C" fn(uptr: *mut c_void, width: c_int, height: c_int) -> c_int>§renderResize: Option<unsafe extern "C" fn(uptr: *mut c_void, width: c_int, height: c_int) -> c_int>§renderExpand: Option<unsafe extern "C" fn(uptr: *mut c_void) -> c_int>§renderUpdate: Option<unsafe extern "C" fn(uptr: *mut c_void, rect: *mut c_int, data: *const c_uchar) -> c_int>§renderDelete: Option<unsafe extern "C" fn(uptr: *mut c_void)>Trait Implementations§
Source§impl Clone for FONSparams
impl Clone for FONSparams
Source§fn clone(&self) -> FONSparams
fn clone(&self) -> FONSparams
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 FONSparams
impl Debug for FONSparams
impl Copy for FONSparams
Auto Trait Implementations§
impl Freeze for FONSparams
impl RefUnwindSafe for FONSparams
impl !Send for FONSparams
impl !Sync for FONSparams
impl Unpin for FONSparams
impl UnwindSafe for FONSparams
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