agde_io

Struct Cursor

source
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

Trait Implementations§

source§

impl<'a> Debug for Cursor<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for Cursor<'a>

§