pub struct StringFactory { /* private fields */ }Implementations§
Source§impl StringFactory
impl StringFactory
pub fn new() -> StringFactory
pub fn from_str(val: &str) -> StringFactory
pub fn from_string(string: String) -> StringFactory
pub fn append<T: Display>(&mut self, val: T)
pub fn append_debug<T: Debug>(&mut self, val: T)
pub fn append_front<T: Display>(&mut self, val: T)
pub fn append_debug_front<T: Debug>(&mut self, val: T)
pub fn to_char_vec(&self) -> Vec<char>
pub fn index_of(&self, val: char) -> Option<usize>
pub fn indexes_of(&self, val: char) -> Vec<usize>
pub fn replace(&mut self, from: char, to: char)
Trait Implementations§
Source§impl Clone for StringFactory
impl Clone for StringFactory
Source§fn clone(&self) -> StringFactory
fn clone(&self) -> StringFactory
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for StringFactory
impl RefUnwindSafe for StringFactory
impl Send for StringFactory
impl Sync for StringFactory
impl Unpin for StringFactory
impl UnwindSafe for StringFactory
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