Struct _mjrContext

Source
#[repr(C)]
pub struct _mjrContext {
Show 56 fields pub lineWidth: f32, pub shadowClip: f32, pub shadowScale: f32, pub fogStart: f32, pub fogEnd: f32, pub fogRGBA: [f32; 4], pub shadowSize: c_int, pub offWidth: c_int, pub offHeight: c_int, pub offSamples: c_int, pub fontScale: c_int, pub auxWidth: [c_int; 10], pub auxHeight: [c_int; 10], pub auxSamples: [c_int; 10], pub offFBO: c_uint, pub offFBO_r: c_uint, pub offColor: c_uint, pub offColor_r: c_uint, pub offDepthStencil: c_uint, pub offDepthStencil_r: c_uint, pub shadowFBO: c_uint, pub shadowTex: c_uint, pub auxFBO: [c_uint; 10], pub auxFBO_r: [c_uint; 10], pub auxColor: [c_uint; 10], pub auxColor_r: [c_uint; 10], pub ntexture: c_int, pub textureType: [c_int; 100], pub texture: [c_uint; 100], pub basePlane: c_uint, pub baseMesh: c_uint, pub baseHField: c_uint, pub baseBuiltin: c_uint, pub baseFontNormal: c_uint, pub baseFontShadow: c_uint, pub baseFontBig: c_uint, pub rangePlane: c_int, pub rangeMesh: c_int, pub rangeHField: c_int, pub rangeBuiltin: c_int, pub rangeFont: c_int, pub nskin: c_int, pub skinvertVBO: *mut c_uint, pub skinnormalVBO: *mut c_uint, pub skintexcoordVBO: *mut c_uint, pub skinfaceVBO: *mut c_uint, pub charWidth: [c_int; 127], pub charWidthBig: [c_int; 127], pub charHeight: c_int, pub charHeightBig: c_int, pub glewInitialized: c_int, pub windowAvailable: c_int, pub windowSamples: c_int, pub windowStereo: c_int, pub windowDoublebuffer: c_int, pub currentBuffer: c_int,
}

Fields§

§lineWidth: f32§shadowClip: f32§shadowScale: f32§fogStart: f32§fogEnd: f32§fogRGBA: [f32; 4]§shadowSize: c_int§offWidth: c_int§offHeight: c_int§offSamples: c_int§fontScale: c_int§auxWidth: [c_int; 10]§auxHeight: [c_int; 10]§auxSamples: [c_int; 10]§offFBO: c_uint§offFBO_r: c_uint§offColor: c_uint§offColor_r: c_uint§offDepthStencil: c_uint§offDepthStencil_r: c_uint§shadowFBO: c_uint§shadowTex: c_uint§auxFBO: [c_uint; 10]§auxFBO_r: [c_uint; 10]§auxColor: [c_uint; 10]§auxColor_r: [c_uint; 10]§ntexture: c_int§textureType: [c_int; 100]§texture: [c_uint; 100]§basePlane: c_uint§baseMesh: c_uint§baseHField: c_uint§baseBuiltin: c_uint§baseFontNormal: c_uint§baseFontShadow: c_uint§baseFontBig: c_uint§rangePlane: c_int§rangeMesh: c_int§rangeHField: c_int§rangeBuiltin: c_int§rangeFont: c_int§nskin: c_int§skinvertVBO: *mut c_uint§skinnormalVBO: *mut c_uint§skintexcoordVBO: *mut c_uint§skinfaceVBO: *mut c_uint§charWidth: [c_int; 127]§charWidthBig: [c_int; 127]§charHeight: c_int§charHeightBig: c_int§glewInitialized: c_int§windowAvailable: c_int§windowSamples: c_int§windowStereo: c_int§windowDoublebuffer: c_int§currentBuffer: c_int

Trait Implementations§

Source§

impl Clone for _mjrContext

Source§

fn clone(&self) -> _mjrContext

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for _mjrContext

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for _mjrContext

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.