pub struct FastStringBuilder { /* private fields */ }Implementations§
Source§impl FastStringBuilder
impl FastStringBuilder
pub fn with_capacity(capacity: usize) -> Self
pub fn push_str(&mut self, s: &str)
pub fn push_static(&mut self, s: &'static str)
pub fn push_bytes(&mut self, bytes: &[u8])
pub fn push_char(&mut self, c: char)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn clear(&mut self)
pub fn finish(self) -> BytesMut
pub fn as_bytes(&self) -> &[u8] ⓘ
pub fn reserve(&mut self, additional: usize)
pub fn fast_bulk_copy(&mut self, sources: &[&[u8]])
Trait Implementations§
Auto Trait Implementations§
impl Forget for FastStringBuilder
impl Freeze for FastStringBuilder
impl RefUnwindSafe for FastStringBuilder
impl Send for FastStringBuilder
impl Sync for FastStringBuilder
impl Unpin for FastStringBuilder
impl UnsafeUnpin for FastStringBuilder
impl UnwindSafe for FastStringBuilder
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