pub struct FakeGlConfig {Show 16 fields
pub context_type: HwContextType,
pub version_info: GlVersionInfo,
pub vendor_string: String,
pub renderer_string: String,
pub version_string: String,
pub extensions_string: String,
pub max_texture_size: Option<u32>,
pub max_texture_image_units: Option<u32>,
pub max_varying_vectors: Option<u32>,
pub fragment_highp_float: Option<bool>,
pub supports_vertex_arrays: bool,
pub supports_texture_arrays: bool,
pub supports_instancing: bool,
pub supports_generate_mipmap: bool,
pub next_error: Option<u32>,
pub framebuffer_status: u32,
}Fields§
§context_type: HwContextType§version_info: GlVersionInfo§vendor_string: String§renderer_string: String§version_string: String§extensions_string: String§max_texture_size: Option<u32>§max_texture_image_units: Option<u32>§max_varying_vectors: Option<u32>§fragment_highp_float: Option<bool>§supports_vertex_arrays: bool§supports_texture_arrays: bool§supports_instancing: bool§supports_generate_mipmap: bool§next_error: Option<u32>§framebuffer_status: u32Trait Implementations§
Source§impl Clone for FakeGlConfig
impl Clone for FakeGlConfig
Source§fn clone(&self) -> FakeGlConfig
fn clone(&self) -> FakeGlConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FakeGlConfig
impl Debug for FakeGlConfig
Source§impl Default for FakeGlConfig
impl Default for FakeGlConfig
Source§impl PartialEq for FakeGlConfig
impl PartialEq for FakeGlConfig
Source§fn eq(&self, other: &FakeGlConfig) -> bool
fn eq(&self, other: &FakeGlConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FakeGlConfig
impl StructuralPartialEq for FakeGlConfig
Auto Trait Implementations§
impl Freeze for FakeGlConfig
impl RefUnwindSafe for FakeGlConfig
impl Send for FakeGlConfig
impl Sync for FakeGlConfig
impl Unpin for FakeGlConfig
impl UnsafeUnpin for FakeGlConfig
impl UnwindSafe for FakeGlConfig
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