Enum chunks::Chunk [−][src]
A chunk. Don't touch its insides unless you know what you're doing!
Variants
Good
A chunk that loaded successfully.
Fields of Good
save: bool | Whether the chunk needs to be saved. |
value: S::Value | The stuff you care about. |
Bad
Take a guess.
Methods
impl<S: Store> Chunk<S>
[src]
impl<S: Store> Chunk<S>
pub fn get(&self) -> Option<&S::Value>
[src]
pub fn get(&self) -> Option<&S::Value>
Read some stuff.
pub fn get_mut(&mut self) -> Option<&mut S::Value>
[src]
pub fn get_mut(&mut self) -> Option<&mut S::Value>
Make some changes.