6 messages · Page 1 of 1 (latest)
why not make it generic instead
so Editor stores a type which is bound to Write
to access Box<Cursor<Vec<u8>>> just deref a couple times
Box<Cursor<Vec<u8>>>
so boxed_cursor.get_ref()
boxed_cursor.get_ref()
which gives you &Vec<u8>
&Vec<u8>
thx i will try it