pub struct Cursor<'a> {
pub resource: &'a str,
pub index: usize,
}
Expand description
A cursor into a resource.
Used by StateHandle::commit_and_send
to calculate where the user’s cursor should move after
merging others’ data.
Fields§
§resource: &'a str
§index: usize