pub enum ShaderPrecision {
LowFloat = 36_336,
MediumFloat = 36_337,
HighFloat = 36_338,
LowInt = 36_339,
MediumInt = 36_340,
HighInt = 36_341,
}
Expand description
Variants§
LowFloat = 36_336
MediumFloat = 36_337
HighFloat = 36_338
LowInt = 36_339
MediumInt = 36_340
HighInt = 36_341
Trait Implementations§
Source§impl Clone for ShaderPrecision
impl Clone for ShaderPrecision
Source§fn clone(&self) -> ShaderPrecision
fn clone(&self) -> ShaderPrecision
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ShaderPrecision
impl Debug for ShaderPrecision
Source§impl From<ShaderPrecision> for JsValue
impl From<ShaderPrecision> for JsValue
Source§fn from(value: ShaderPrecision) -> Self
fn from(value: ShaderPrecision) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for ShaderPrecision
impl FromWasmAbi for ShaderPrecision
Source§impl IntoWasmAbi for ShaderPrecision
impl IntoWasmAbi for ShaderPrecision
Source§impl OptionFromWasmAbi for ShaderPrecision
impl OptionFromWasmAbi for ShaderPrecision
Source§impl OptionIntoWasmAbi for ShaderPrecision
impl OptionIntoWasmAbi for ShaderPrecision
Source§impl TryFromJsValue for ShaderPrecision
impl TryFromJsValue for ShaderPrecision
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <ShaderPrecision as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <ShaderPrecision as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for ShaderPrecision
impl VectorFromWasmAbi for ShaderPrecision
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[ShaderPrecision]>
Source§impl VectorIntoJsValue for ShaderPrecision
impl VectorIntoJsValue for ShaderPrecision
fn vector_into_jsvalue(vector: Box<[ShaderPrecision]>) -> JsValue
Source§impl VectorIntoWasmAbi for ShaderPrecision
impl VectorIntoWasmAbi for ShaderPrecision
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ShaderPrecision]>) -> Self::Abi
Source§impl WasmDescribeVector for ShaderPrecision
impl WasmDescribeVector for ShaderPrecision
impl Copy for ShaderPrecision
Auto Trait Implementations§
impl Freeze for ShaderPrecision
impl RefUnwindSafe for ShaderPrecision
impl Send for ShaderPrecision
impl Sync for ShaderPrecision
impl Unpin for ShaderPrecision
impl UnwindSafe for ShaderPrecision
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.