Struct tiny_terminal_snake::Status [−][src]
pub struct Status {
pub snake: Rc<RefCell<Snake>>,
pub food: (usize, usize),
pub speed_defer: f32,
pub snake_last_len: usize,
pub win: bool,
pub lose: bool,
}
Fields
snake: Rc<RefCell<Snake>>
food: (usize, usize)
speed_defer: f32
snake_last_len: usize
win: bool
lose: bool
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Status
impl !UnwindSafe for Status
Blanket Implementations
Mutably borrows from an owned value. Read more