Trait CursorSink

Source
pub trait CursorSink {
    // Required method
    fn append(&mut self, c: Cursor);
}
Expand description

This trait provides the generic impl that ToCursors can use. This provides just enough API surface for nodes to put the cursors they represent into some buffer which can later be read, the details of which are elided.

Required Methods§

Source

fn append(&mut self, c: Cursor)

Implementations on Foreign Types§

Source§

impl<'a> CursorSink for Vec<'a, Cursor>

Source§

fn append(&mut self, c: Cursor)

Implementors§