pub enum BufferBit {
Depth = 256,
Stencil = 1_024,
Color = 16_384,
}
Variants§
Depth = 256
Passed to clear to clear the current depth buffer.
Stencil = 1_024
Passed to clear to clear the current stencil buffer.
Color = 16_384
Passed to clear to clear the current color buffer.
Trait Implementations§
Source§impl FromWasmAbi for BufferBit
impl FromWasmAbi for BufferBit
Source§impl IntoWasmAbi for BufferBit
impl IntoWasmAbi for BufferBit
Source§impl OptionFromWasmAbi for BufferBit
impl OptionFromWasmAbi for BufferBit
Source§impl OptionIntoWasmAbi for BufferBit
impl OptionIntoWasmAbi for BufferBit
Source§impl TryFromJsValue for BufferBit
impl TryFromJsValue for BufferBit
Source§impl VectorFromWasmAbi for BufferBit
impl VectorFromWasmAbi for BufferBit
Source§impl VectorIntoWasmAbi for BufferBit
impl VectorIntoWasmAbi for BufferBit
impl Copy for BufferBit
Auto Trait Implementations§
impl Freeze for BufferBit
impl RefUnwindSafe for BufferBit
impl Send for BufferBit
impl Sync for BufferBit
impl Unpin for BufferBit
impl UnwindSafe for BufferBit
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
.