[][src]Struct dragnit::ByteBufferMut

pub struct ByteBufferMut { /* fields omitted */ }

Methods

impl ByteBufferMut[src]

pub fn new() -> ByteBufferMut[src]

pub fn data(self) -> Vec<u8>[src]

pub fn len(&self) -> usize[src]

pub fn write_bool(&mut self, value: bool)[src]

pub fn write_byte(&mut self, value: u8)[src]

pub fn write_bytes(&mut self, value: &[u8])[src]

pub fn write_var_int(&mut self, value: i32)[src]

pub fn write_var_uint(&mut self, value: u32)[src]

pub fn write_var_float(&mut self, value: f32)[src]

pub fn write_string(&mut self, value: &str)[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]