pub struct RawBuffer<const N: usize, const P: bool = false>(/* private fields */);Expand description
Simple wrapper over const_hex::Buffer that implements StringExtT.
Just create a const_hex::Buffer then Into::into!
Trait Implementations§
Source§impl<const N: usize, const P: bool> StringExtT for RawBuffer<N, P>
impl<const N: usize, const P: bool> StringExtT for RawBuffer<N, P>
Source§fn push_to_string(self, string: &mut Vec<u8>)
fn push_to_string(self, string: &mut Vec<u8>)
Push the value to the string.
Source§fn push_to_string_with_separator(
self,
string: &mut Vec<u8>,
separator: impl SeparatorT,
)
fn push_to_string_with_separator( self, string: &mut Vec<u8>, separator: impl SeparatorT, )
Push the value to the string with a separator. Read more
Source§fn to_string_ext(self) -> String
fn to_string_ext(self) -> String
Encode the value to the string.
Source§fn to_string_ext_with_sep(self, separator: impl SeparatorT) -> String
fn to_string_ext_with_sep(self, separator: impl SeparatorT) -> String
Push the value to the string with separator Read more
Auto Trait Implementations§
impl<const N: usize, const P: bool> Freeze for RawBuffer<N, P>
impl<const N: usize, const P: bool> RefUnwindSafe for RawBuffer<N, P>
impl<const N: usize, const P: bool> Send for RawBuffer<N, P>
impl<const N: usize, const P: bool> Sync for RawBuffer<N, P>
impl<const N: usize, const P: bool> Unpin for RawBuffer<N, P>
impl<const N: usize, const P: bool> UnwindSafe for RawBuffer<N, P>
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