Lines Matching refs:OutputTarget
61 enum OutputTarget<'a> { enum
69 target: OutputTarget<'a>,
91 target: OutputTarget::Write(writer, buffer_storage), in new()
102 target: OutputTarget::Bytes, in bytes()
114 target: OutputTarget::Vec(vec), in vec()
127 OutputTarget::Bytes => { in check_eof()
130 OutputTarget::Write(..) | OutputTarget::Vec(..) => { in check_eof()
138 OutputTarget::Write(ref mut write, _) => { in refresh_buffer()
142 OutputTarget::Vec(ref mut vec) => unsafe { in refresh_buffer()
150 OutputTarget::Bytes => { in refresh_buffer()
160 OutputTarget::Bytes => Ok(()), in flush()
161 OutputTarget::Write(..) | OutputTarget::Vec(..) => { in flush()
199 OutputTarget::Bytes => { in write_raw_bytes()
202 OutputTarget::Write(ref mut write, _) => { in write_raw_bytes()
205 OutputTarget::Vec(ref mut vec) => { in write_raw_bytes()