pub fn write<Drawing: Send+IntoIterator<Item=Draw>>(&self, drawing: Drawing) {
        // Write the drawing instructions to the pending queue
        let waker = self.stream_core.sync(move |core| {
            core.write(drawing.into_iter());
            core.take_waker()
        });

        // Wake the stream, if anything is listening
        waker.map(|waker| waker.wake());
    }
///
/// Sends some drawing instructions to this target
///
Sends some drawing instructions to this target
Sends some drawing instructions to this target
pub fn write<Drawing: Send+IntoIterator<Item=Draw>>(&self, drawing: Drawing) {
        // Write the drawing instructions to the pending queue
        let waker = self.stream_core.sync(move |core| {
            core.write(drawing.into_iter());
            core.take_waker()
        });
        // Wake the stream, if anything is listening
        waker.map(|waker| waker.wake());
    }
pub fn write < Drawing : Send + IntoIterator < Item = Draw > > ( & self , drawing : Drawing ) { // Write the drawing instructions to the pending queue let waker = self . stream_core . sync ( move | core | { core . write ( drawing . into_iter ( ) ) ; core . take_waker ( ) } ) ; // Wake the stream, if anything is listening waker . map ( | waker | waker . wake ( ) ) ; }
Sends some drawing instructions to this target
Sends some drawing instructions to this target
&self
drawing
Drawing