[−][src]Struct rs_alloc::string::String
Implementations
impl String
[src]
pub fn with_capacity(c: usize) -> Self
[src]
pub fn new() -> Self
[src]
pub fn from(s: &str) -> Self
[src]
pub fn as_str(&self) -> &str
[src]
pub fn push(&mut self, u: u8)
[src]
pub fn into_bytes(self) -> Vec<u8>
[src]
pub fn as_bytes(&self) -> &[u8]
[src]
pub fn as_bytes_mut(&mut self) -> &mut [u8]
[src]
pub fn as_mut_vec(&mut self) -> &mut Vec<u8>
[src]
pub fn push_str(&mut self, s: &str)
[src]
pub fn len(&self) -> usize
[src]
pub fn split(&self, pattern: &str) -> Splitⓘ
[src]
pub fn lines(&self) -> Linesⓘ
[src]
pub fn from_raw_parts(ptr: *mut u8, len: usize, cap: usize) -> Self
[src]
Trait Implementations
impl<'_> Append<&'_ String> for String
[src]
impl Clone for String
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Display for String
[src]
impl Eq for String
[src]
impl Hash for String
[src]
impl<'_> PartialEq<&'_ str> for String
[src]
impl PartialEq<String> for String
[src]
impl Write for String
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,