[−][src]Struct binary_rw::BinaryWriter
Implementations
impl BinaryWriter[src]
pub fn new(
filepath: &str,
open_type: OpenType
) -> Result<BinaryWriter, BinaryError>[src]
filepath: &str,
open_type: OpenType
) -> Result<BinaryWriter, BinaryError>
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
impl RefUnwindSafe for BinaryWriter
impl Send for BinaryWriter
impl Sync for BinaryWriter
impl Unpin for BinaryWriter
impl UnwindSafe for BinaryWriter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,