pub struct GraphicsConfig {
pub webgl_vendor: Option<String>,
pub webgl_renderer: Option<String>,
pub webgl_masked_vendor: Option<String>,
pub webgl_masked_renderer: Option<String>,
}Expand description
Optional WebGL and graphics fingerprint overrides.
Fields§
§webgl_vendor: Option<String>§webgl_renderer: Option<String>§webgl_masked_vendor: Option<String>§webgl_masked_renderer: Option<String>Trait Implementations§
Source§impl Clone for GraphicsConfig
impl Clone for GraphicsConfig
Source§fn clone(&self) -> GraphicsConfig
fn clone(&self) -> GraphicsConfig
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 GraphicsConfig
impl Debug for GraphicsConfig
Source§impl Default for GraphicsConfig
impl Default for GraphicsConfig
Source§fn default() -> GraphicsConfig
fn default() -> GraphicsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphicsConfig
impl<'de> Deserialize<'de> for GraphicsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GraphicsConfig
impl PartialEq for GraphicsConfig
Source§fn eq(&self, other: &GraphicsConfig) -> bool
fn eq(&self, other: &GraphicsConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GraphicsConfig
impl Serialize for GraphicsConfig
impl Eq for GraphicsConfig
impl StructuralPartialEq for GraphicsConfig
Auto Trait Implementations§
impl Freeze for GraphicsConfig
impl RefUnwindSafe for GraphicsConfig
impl Send for GraphicsConfig
impl Sync for GraphicsConfig
impl Unpin for GraphicsConfig
impl UnsafeUnpin for GraphicsConfig
impl UnwindSafe for GraphicsConfig
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