pub struct Data {
pub data: Vec<u8>,
}
Fields§
§data: Vec<u8>
Implementations§
Trait Implementations§
Source§impl ToTrait for Data
impl ToTrait for Data
fn to_vec_f64(&self) -> Vec<f64>
fn to_vec_f32(&self) -> Vec<f32>
fn to_vec_u16(&self) -> Vec<u16>
fn to_vec_u32(&self) -> Vec<u32>
fn to_vec_u64(&self) -> Vec<u64>
fn to_vec_u128(&self) -> Vec<u128>
fn to_vec_i16(&self) -> Vec<i16>
fn to_vec_i32(&self) -> Vec<i32>
fn to_vec_i64(&self) -> Vec<i64>
fn to_vec_i128(&self) -> Vec<i128>
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
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