pub enum BufferBit {
Depth,
Stencil,
Color,
}
Variants§
Depth
Passed to clear to clear the current depth buffer.
Stencil
Passed to clear to clear the current stencil buffer.
Color
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
impl Copy for BufferBit
Auto Trait Implementations§
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> 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