pub struct OriginalStreamWriter { /* private fields */ }Implementations§
Source§impl OriginalStreamWriter
impl OriginalStreamWriter
pub fn new() -> Self
pub fn into_inner(self) -> Vec<u8> ⓘ
pub fn push_i32(&mut self, v: i32)
pub fn push_i64(&mut self, v: i64)
pub fn push_u32(&mut self, v: u32)
pub fn push_raw(&mut self, bytes: &[u8])
pub fn position(&self) -> usize
pub fn push_bool(&mut self, v: bool)
pub fn push_padding(&mut self, n: usize)
pub fn push_element(&mut self, codes: &[i32])
pub fn push_empty_element(&mut self)
pub fn push_empty_proc(&mut self)
pub fn push_len_bytes(&mut self, bytes: &[u8])
pub fn push_str(&mut self, s: &str)
pub fn push_fixed_i32_list(&mut self, values: &[i64], fixed_len: usize)
pub fn push_fixed_str_list(&mut self, values: &[String], fixed_len: usize)
pub fn push_extend_i32_list(&mut self, values: &[i64])
pub fn push_extend_str_list(&mut self, values: &[String])
pub fn push_tid(&mut self, tid: &[u16; 7])
pub fn push_empty_fixed_array(&mut self)
pub fn push_fixed_items<T, F>(&mut self, values: &[T], write_one: F)
pub fn push_extend_items<T, F>(&mut self, values: &[T], write_one: F)
pub fn push_tid_zero(&mut self)
Auto Trait Implementations§
impl Freeze for OriginalStreamWriter
impl RefUnwindSafe for OriginalStreamWriter
impl Send for OriginalStreamWriter
impl Sync for OriginalStreamWriter
impl Unpin for OriginalStreamWriter
impl UnsafeUnpin for OriginalStreamWriter
impl UnwindSafe for OriginalStreamWriter
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.