Struct synac::state::State [] [src]

pub struct State {
    pub channels: HashMap<usize, Channel>,
    pub groups: HashMap<usize, Group>,
    pub users: HashMap<usize, User>,
}

Holds track of stuff synac has sent locally.

Fields

Methods

impl State
[src]

[src]

Create new state

[src]

Update the state with packet

Trait Implementations

impl Default for State
[src]

[src]

Returns the "default value" for a type. Read more