Enum tetrs::block::Id
[−]
[src]
pub enum Id { I, T, L, J, S, Z, O, None, }
The identifier for a particular Block
.
Variants
I | ||
T | ||
L | ||
J | ||
S | ||
Z | ||
O | ||
None |
Methods
impl Id
[src]
fn variants() -> &'static [Id]
Returns all Id
variants known.
This does not return the None
variant.