Docs.rs
roopes-core-0.1.1
roopes-core 0.1.1
Docs.rs crate page
MIT
Links
Homepage
crates.io
Source
Owners
zwerdlds
Dependencies
delegate ^0.9.0
normal
embed-doc-image ^0.1.4
normal
enclose ^1.1.8
normal
Versions
100%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module state
roopes_
core
0.1.1
Module state
Module Items
Modules
Traits
In roopes_
core::
patterns
roopes_core
::
patterns
Module
state
Copy item path
Source
Expand description
This module implements the State pattern.
Modules
§
prelude
Exposes the
Context
and
State
types at the library level.
simple
Implements a basic wrapper
Context
which contains a generic
State
object.
Traits
§
Context
This trait holds the active state, and acts as a persistent handle for the state machine, which could otherwise be the states themselves.
State
Provides transitions between states.