Enum webgl_rs::glenum::BufferParameter
source · pub enum BufferParameter {
Size,
Usage,
}
Variants§
Size
Passed to getBufferParameter to get a buffer’s size.
Usage
Passed to getBufferParameter to get the hint for the buffer passed in when it was created.
Trait Implementations§
source§impl Clone for BufferParameter
impl Clone for BufferParameter
source§fn clone(&self) -> BufferParameter
fn clone(&self) -> BufferParameter
Returns a copy 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 Debug for BufferParameter
impl Debug for BufferParameter
source§impl FromWasmAbi for BufferParameter
impl FromWasmAbi for BufferParameter
source§impl IntoWasmAbi for BufferParameter
impl IntoWasmAbi for BufferParameter
source§impl OptionFromWasmAbi for BufferParameter
impl OptionFromWasmAbi for BufferParameter
source§impl OptionIntoWasmAbi for BufferParameter
impl OptionIntoWasmAbi for BufferParameter
impl Copy for BufferParameter
Auto Trait Implementations§
impl RefUnwindSafe for BufferParameter
impl Send for BufferParameter
impl Sync for BufferParameter
impl Unpin for BufferParameter
impl UnwindSafe for BufferParameter
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§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
. Read more