usestd::sync::mpsc;use gfx;// Bi-directional channel to send Encoder between game thread(s)
// (as managed by Specs), and the thread owning the graphics device.
pubstructEncoderChannel<R:gfx::Resources, C:gfx::CommandBuffer<R>>{pubreceiver:mpsc::Receiver<gfx::Encoder<R, C>>,
pubsender:mpsc::Sender<gfx::Encoder<R, C>>,
}