[−][src]Struct vec_saver::data::Data
Fields
data: Vec<u8>
Methods
impl Data
[src]
pub fn new(data: Vec<u8>) -> Data
[src]
pub fn save(&self, filename: &str) -> bool
[src]
pub fn load(&mut self, filename: &str) -> bool
[src]
Trait Implementations
impl ToTrait for Data
[src]
fn to_vec_f64(&self) -> Vec<f64>
[src]
fn to_vec_f32(&self) -> Vec<f32>
[src]
fn to_vec_u16(&self) -> Vec<u16>
[src]
fn to_vec_u32(&self) -> Vec<u32>
[src]
fn to_vec_u64(&self) -> Vec<u64>
[src]
fn to_vec_u128(&self) -> Vec<u128>
[src]
fn to_vec_i16(&self) -> Vec<i16>
[src]
fn to_vec_i32(&self) -> Vec<i32>
[src]
fn to_vec_i64(&self) -> Vec<i64>
[src]
fn to_vec_i128(&self) -> Vec<i128>
[src]
Auto Trait Implementations
impl Sync for Data
impl Send for Data
impl Unpin for Data
impl RefUnwindSafe for Data
impl UnwindSafe for Data
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,