[−][src]Struct osmesa_sys::OsMesa
Symbols loaded from a shared library.
Fields
OSMesaColorClamp: unsafe extern "C" fn(enable: c_uchar)OSMesaCreateContext: unsafe extern "C" fn(format: c_uint, sharelist: OSMesaContext) -> OSMesaContextOSMesaCreateContextExt: unsafe extern "C" fn(format: c_uint, depthBits: c_int, stencilBits: c_int, accumBits: c_int, sharelist: OSMesaContext) -> OSMesaContextOSMesaCreateContextAttribs: unsafe extern "C" fn(attribList: *const c_int, sharelist: OSMesaContext) -> OSMesaContextOSMesaDestroyContext: unsafe extern "C" fn(ctx: OSMesaContext)OSMesaGetColorBuffer: unsafe extern "C" fn(c: OSMesaContext, width: *mut c_int, height: *mut c_int, format: *mut c_int, buffer: *mut *mut c_void) -> c_ucharOSMesaGetCurrentContext: unsafe extern "C" fn() -> OSMesaContextOSMesaGetDepthBuffer: unsafe extern "C" fn(c: OSMesaContext, width: *mut c_int, height: *mut c_int, bytesPerValue: *mut c_int, buffer: *mut *mut c_void) -> c_ucharOSMesaGetIntegerv: unsafe extern "C" fn(pname: c_int, value: *mut c_int)OSMesaGetProcAddress: unsafe extern "C" fn(funcName: *const c_char) -> OSMESAprocOSMesaMakeCurrent: unsafe extern "C" fn(ctx: OSMesaContext, buffer: *mut c_void, _type: c_uint, width: c_int, height: c_int) -> c_ucharOSMesaPixelStore: unsafe extern "C" fn(pname: c_int, value: c_int)Implementations
impl OsMesa[src]
impl OsMesa[src]
pub fn try_loading() -> Result<&'static OsMesa, LoadingError>[src]
Try loading the static symbols linked to this library.
Auto Trait Implementations
impl RefUnwindSafe for OsMesa
impl Send for OsMesa
impl Sync for OsMesa
impl Unpin for OsMesa
impl UnwindSafe for OsMesa
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,