enum
Direction
pub enum Direction {
None,
Top,
TopRight,
Right,
BottomRight,
Bottom,
BottomLeft,
Left,
TopLeft,
}The way particles drift.
Variants
Methods
parse
pub fn parse(s: &str) -> DirectionThe direction s names (top or up, top-right, bottom or down…).