Skip to main content

MapSlot

Type Alias MapSlot 

Source
pub type MapSlot = Option<(Value<'static>, ObjId)>;
Expand description

What a key of a map holds: its current value and the id of the op that wrote it, as ReadDoc::get returns them.

Aliased Type§

pub enum MapSlot {
    None,
    Some((Value<'static>, ExId)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some((Value<'static>, ExId))

Some value of type T.