pub struct Builder { /* private fields */ }
Expand description
§Simple String Builder
Super basic string builder based on my memory of Javas Accepts Strings and &str Some one probobly did this better
§Example
let name = "quinn".to_string();
let mut b = Builder::new();
b.append("Hello");
b.append(" My Name Is".to_string());
b.append(format!(" {} and I Like you 😍", name));
let: Result<String, Utf8Error> = b.try_to_string();
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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