pub struct PairCodec { /* private fields */ }Expand description
Adapts a (View, Editor) pair to the unified SurfaceCodec.
encode runs the view forward then projects to the surface via
reduce_for_caps; decode/commit delegate to the editor.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PairCodec
impl !UnwindSafe for PairCodec
impl Freeze for PairCodec
impl Send for PairCodec
impl Sync for PairCodec
impl Unpin for PairCodec
impl UnsafeUnpin for PairCodec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more