Struct fisher_common::state::State
[−]
[src]
pub struct State { /* fields omitted */ }
This struct keeps the global state of Fisher.
Methods
impl State
[src]
fn new() -> Self
Create a new instance of the struct.
fn next_id(&self, kind: IdKind) -> UniqueId
Get the next ID for a specific IdKind
. The ID is
guaranteed to be unique and greater than the last ID.