pub struct UntypedBytes { /* private fields */ }
Implementations§
Source§impl UntypedBytes
impl UntypedBytes
pub fn new() -> Self
pub fn with_capacity(capacity: usize) -> Self
pub fn from_slice<T, V>(value: V) -> Self
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn clear(&mut self)
pub fn push<T: Copy + Send + Sync + 'static>(&mut self, value: T)
pub fn extend_from_slice<T, V>(&mut self, value: V)
Trait Implementations§
Source§impl Clone for UntypedBytes
impl Clone for UntypedBytes
Source§fn clone(&self) -> UntypedBytes
fn clone(&self) -> UntypedBytes
Returns a copy 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 moreSource§impl Debug for UntypedBytes
impl Debug for UntypedBytes
Source§impl Default for UntypedBytes
impl Default for UntypedBytes
Source§fn default() -> UntypedBytes
fn default() -> UntypedBytes
Returns the “default value” for a type. Read more
Source§impl<A: Copy + Send + Sync + 'static> Extend<A> for UntypedBytes
impl<A: Copy + Send + Sync + 'static> Extend<A> for UntypedBytes
Source§fn extend<T: IntoIterator<Item = A>>(&mut self, value: T)
fn extend<T: IntoIterator<Item = A>>(&mut self, value: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Auto Trait Implementations§
impl Freeze for UntypedBytes
impl RefUnwindSafe for UntypedBytes
impl Send for UntypedBytes
impl Sync for UntypedBytes
impl Unpin for UntypedBytes
impl UnwindSafe for UntypedBytes
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)