pub struct IndexedData {
pub index: u8,
pub data: Vec<u8>,
}
Fields§
§index: u8
§data: Vec<u8>
Implementations§
Source§impl IndexedData
impl IndexedData
Trait Implementations§
Source§impl Clone for IndexedData
impl Clone for IndexedData
Source§fn clone(&self) -> IndexedData
fn clone(&self) -> IndexedData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for IndexedData
impl RefUnwindSafe for IndexedData
impl Send for IndexedData
impl Sync for IndexedData
impl Unpin for IndexedData
impl UnwindSafe for IndexedData
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