pub struct FileBytes(pub Vec<u8>);
Expand description
A newtype around a Vec<u8>
.
Tuple Fields§
§0: Vec<u8>
Implementations§
Trait Implementations§
Source§impl<'a> FromRefForWriter<'a> for FileBytes
impl<'a> FromRefForWriter<'a> for FileBytes
Source§impl NewtypeToInner for FileBytes
impl NewtypeToInner for FileBytes
impl Eq for FileBytes
impl StructuralPartialEq for FileBytes
Auto Trait Implementations§
impl Freeze for FileBytes
impl RefUnwindSafe for FileBytes
impl Send for FileBytes
impl Sync for FileBytes
impl Unpin for FileBytes
impl UnwindSafe for FileBytes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DirStructureItem for T
impl<T> DirStructureItem for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.