1 2 3 4 5 6 7 8 9 10 11
use dope_sys::io::request::{Context, Source}; use crate::{Backend, reactor::sq}; impl<C: Context> Source<C> for Backend { type Target = sq::Fixed; fn target(slot: C::Target) -> sq::Fixed { sq::Fixed::new(slot.into()) } }