[][src]Struct fontstash_sys::FONSparams

#[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_intheight: c_intflags: c_ucharuserPtr: *mut c_voidrenderCreate: 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

impl Clone for FONSparams[src]

impl Copy for FONSparams[src]

impl Debug for FONSparams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.