pub struct Push {
pub string: String,
}Fields§
§string: StringImplementations§
Source§impl Push
impl Push
pub fn new() -> Self
pub fn push_byte(&mut self, b: u8)
pub fn push_str(&mut self, s: &str)
pub fn push_nstring(&mut self, s: &str, n: usize)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn as_str(&self) -> &str
pub fn into_string(self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Push
impl RefUnwindSafe for Push
impl Send for Push
impl Sync for Push
impl Unpin for Push
impl UnsafeUnpin for Push
impl UnwindSafe for Push
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