[][src]Struct binary_rw::BinaryWriter

pub struct BinaryWriter { /* fields omitted */ }

Implementations

impl BinaryWriter[src]

pub fn new(
    filepath: &str,
    open_type: OpenType
) -> Result<BinaryWriter, BinaryError>
[src]

pub fn seek_to(&mut self, position: u64) -> Result<u64, BinaryError>[src]

pub fn get_cur_pos(&mut self) -> Result<u64, BinaryError>[src]

pub fn write_string(&mut self, value: String) -> Option<BinaryError>[src]

pub fn write_f32(&mut self, value: f32) -> Option<BinaryError>[src]

pub fn write_f64(&mut self, value: f64) -> Option<BinaryError>[src]

pub fn write_isize(&mut self, value: isize) -> Option<BinaryError>[src]

pub fn write_usize(&mut self, value: usize) -> Option<BinaryError>[src]

pub fn write_u64(&mut self, value: u64) -> Option<BinaryError>[src]

pub fn write_i64(&mut self, value: i64) -> Option<BinaryError>[src]

pub fn write_u32(&mut self, value: u32) -> Option<BinaryError>[src]

pub fn write_i32(&mut self, value: i32) -> Option<BinaryError>[src]

pub fn write_u16(&mut self, value: u16) -> Option<BinaryError>[src]

pub fn write_i16(&mut self, value: i16) -> Option<BinaryError>[src]

pub fn write_u8(&mut self, value: u8) -> Option<BinaryError>[src]

pub fn write_i8(&mut self, value: i8) -> Option<BinaryError>[src]

pub fn write_bytes(&mut self, data: Vec<u8>) -> Option<BinaryError>[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.