pub struct WebGlContextAttributesFingerPrint {
pub alpha_buffer: Option<bool>,
pub depth_buffer: Option<bool>,
pub stencil_buffer: Option<bool>,
pub anti_aliasing: Option<bool>,
pub major_performance_caveat: Option<bool>,
pub power_preference: Option<u32>,
pub pre_multiplied_alpha: Option<bool>,
pub preserve_drawing_buffer: Option<bool>,
}
Fields§
§alpha_buffer: Option<bool>
§depth_buffer: Option<bool>
§stencil_buffer: Option<bool>
§anti_aliasing: Option<bool>
§major_performance_caveat: Option<bool>
§power_preference: Option<u32>
§pre_multiplied_alpha: Option<bool>
§preserve_drawing_buffer: Option<bool>
Implementations§
Source§impl WebGlContextAttributesFingerPrint
impl WebGlContextAttributesFingerPrint
pub fn new(gl: &WebGl2RenderingContext) -> Option<Self>
Trait Implementations§
Source§impl Clone for WebGlContextAttributesFingerPrint
impl Clone for WebGlContextAttributesFingerPrint
Source§fn clone(&self) -> WebGlContextAttributesFingerPrint
fn clone(&self) -> WebGlContextAttributesFingerPrint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for WebGlContextAttributesFingerPrint
impl Default for WebGlContextAttributesFingerPrint
Source§fn default() -> WebGlContextAttributesFingerPrint
fn default() -> WebGlContextAttributesFingerPrint
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WebGlContextAttributesFingerPrint
impl RefUnwindSafe for WebGlContextAttributesFingerPrint
impl Send for WebGlContextAttributesFingerPrint
impl Sync for WebGlContextAttributesFingerPrint
impl Unpin for WebGlContextAttributesFingerPrint
impl UnwindSafe for WebGlContextAttributesFingerPrint
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