[][src]Struct web_sys::WebGlShaderPrecisionFormat

#[repr(transparent)]
pub struct WebGlShaderPrecisionFormat { /* fields omitted */ }

The WebGLShaderPrecisionFormat object

MDN Documentation

This API requires the following crate features to be activated: WebGlShaderPrecisionFormat

Methods

impl WebGlShaderPrecisionFormat[src]

pub fn range_min(&self) -> i32[src]

The rangeMin getter

MDN Documentation

This API requires the following crate features to be activated: WebGlShaderPrecisionFormat

impl WebGlShaderPrecisionFormat[src]

pub fn range_max(&self) -> i32[src]

The rangeMax getter

MDN Documentation

This API requires the following crate features to be activated: WebGlShaderPrecisionFormat

impl WebGlShaderPrecisionFormat[src]

pub fn precision(&self) -> i32[src]

The precision getter

MDN Documentation

This API requires the following crate features to be activated: WebGlShaderPrecisionFormat

Trait Implementations

impl AsRef<JsValue> for WebGlShaderPrecisionFormat[src]

impl AsRef<Object> for WebGlShaderPrecisionFormat[src]

impl AsRef<WebGlShaderPrecisionFormat> for WebGlShaderPrecisionFormat[src]

impl Clone for WebGlShaderPrecisionFormat[src]

impl Debug for WebGlShaderPrecisionFormat[src]

impl Deref for WebGlShaderPrecisionFormat[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for WebGlShaderPrecisionFormat[src]

impl From<JsValue> for WebGlShaderPrecisionFormat[src]

impl From<WebGlShaderPrecisionFormat> for JsValue[src]

impl From<WebGlShaderPrecisionFormat> for Object[src]

impl FromWasmAbi for WebGlShaderPrecisionFormat[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for WebGlShaderPrecisionFormat[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a WebGlShaderPrecisionFormat[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for WebGlShaderPrecisionFormat[src]

impl OptionFromWasmAbi for WebGlShaderPrecisionFormat[src]

impl OptionIntoWasmAbi for WebGlShaderPrecisionFormat[src]

impl<'a> OptionIntoWasmAbi for &'a WebGlShaderPrecisionFormat[src]

impl PartialEq<WebGlShaderPrecisionFormat> for WebGlShaderPrecisionFormat[src]

impl RefFromWasmAbi for WebGlShaderPrecisionFormat[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<WebGlShaderPrecisionFormat>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for WebGlShaderPrecisionFormat[src]

impl StructuralPartialEq for WebGlShaderPrecisionFormat[src]

impl WasmDescribe for WebGlShaderPrecisionFormat[src]

Auto Trait Implementations

impl RefUnwindSafe for WebGlShaderPrecisionFormat

impl !Send for WebGlShaderPrecisionFormat

impl !Sync for WebGlShaderPrecisionFormat

impl Unpin for WebGlShaderPrecisionFormat

impl UnwindSafe for WebGlShaderPrecisionFormat

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.