pub enum InformationType {
Samples = 32_937,
}
Expand description
Constants passed to getInternalformatParameter
Variants§
Samples = 32_937
Returns a Int32Array containing sample counts supported for internalformat in descending order.
Trait Implementations§
Source§impl Clone for InformationType
impl Clone for InformationType
Source§fn clone(&self) -> InformationType
fn clone(&self) -> InformationType
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 InformationType
impl Debug for InformationType
Source§impl From<InformationType> for JsValue
impl From<InformationType> for JsValue
Source§fn from(value: InformationType) -> Self
fn from(value: InformationType) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for InformationType
impl FromWasmAbi for InformationType
Source§impl IntoWasmAbi for InformationType
impl IntoWasmAbi for InformationType
Source§impl OptionFromWasmAbi for InformationType
impl OptionFromWasmAbi for InformationType
Source§impl OptionIntoWasmAbi for InformationType
impl OptionIntoWasmAbi for InformationType
Source§impl TryFromJsValue for InformationType
impl TryFromJsValue for InformationType
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <InformationType as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <InformationType as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for InformationType
impl VectorFromWasmAbi for InformationType
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[InformationType]>
Source§impl VectorIntoJsValue for InformationType
impl VectorIntoJsValue for InformationType
fn vector_into_jsvalue(vector: Box<[InformationType]>) -> JsValue
Source§impl VectorIntoWasmAbi for InformationType
impl VectorIntoWasmAbi for InformationType
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[InformationType]>) -> Self::Abi
Source§impl WasmDescribeVector for InformationType
impl WasmDescribeVector for InformationType
impl Copy for InformationType
Auto Trait Implementations§
impl Freeze for InformationType
impl RefUnwindSafe for InformationType
impl Send for InformationType
impl Sync for InformationType
impl Unpin for InformationType
impl UnwindSafe for InformationType
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
.