Struct soft_ascii_string::SoftAsciiString [−][src]
pub struct SoftAsciiString(_);
a String wrapper with an additional "is us-ascii" soft constraint
Methods
impl SoftAsciiString[src]
impl SoftAsciiStringpub fn from_unchecked<S: Into<String>>(s: S) -> Self[src]
pub fn from_unchecked<S: Into<String>>(s: S) -> Selfpub fn from_string_unchecked<S: Into<String>>(s: S) -> Self[src]
pub fn from_string_unchecked<S: Into<String>>(s: S) -> Self: use from_unchecked
pub fn from_string<S>(source: S) -> Result<Self, FromSourceError<S>> where
S: Debug + AsRef<str> + Into<String>, [src]
pub fn from_string<S>(source: S) -> Result<Self, FromSourceError<S>> where
S: Debug + AsRef<str> + Into<String>, pub fn new() -> Self[src]
pub fn new() -> Selfpub fn with_capacity(cap: usize) -> Self[src]
pub fn with_capacity(cap: usize) -> Selfpub fn revalidate_soft_constraint(self) -> Result<SoftAsciiString, String>[src]
pub fn revalidate_soft_constraint(self) -> Result<SoftAsciiString, String>pub fn inner_string_mut(&mut self) -> &mut String[src]
pub fn inner_string_mut(&mut self) -> &mut Stringpub fn inner_string(&self) -> &String[src]
pub fn inner_string(&self) -> &Stringpub fn push_str(&mut self, other: &SoftAsciiStr)[src]
pub fn push_str(&mut self, other: &SoftAsciiStr)pub fn into_bytes(self) -> Vec<u8>[src]
pub fn into_bytes(self) -> Vec<u8>pub fn push(&mut self, ch: SoftAsciiChar)[src]
pub fn push(&mut self, ch: SoftAsciiChar)pub fn pop(&mut self) -> Option<SoftAsciiChar>[src]
pub fn pop(&mut self) -> Option<SoftAsciiChar>pub fn remove(&mut self, idx: usize) -> SoftAsciiChar[src]
pub fn remove(&mut self, idx: usize) -> SoftAsciiCharpub fn insert(&mut self, idx: usize, ch: SoftAsciiChar)[src]
pub fn insert(&mut self, idx: usize, ch: SoftAsciiChar)pub fn insert_str(&mut self, idx: usize, string: &SoftAsciiStr)[src]
pub fn insert_str(&mut self, idx: usize, string: &SoftAsciiStr)pub fn as_soft_ascii_str(&self) -> &SoftAsciiStr[src]
pub fn as_soft_ascii_str(&self) -> &SoftAsciiStrpub fn as_soft_ascii_str_mut(&mut self) -> &mut SoftAsciiStr[src]
pub fn as_soft_ascii_str_mut(&mut self) -> &mut SoftAsciiStrpub fn split_off(&mut self, at: usize) -> SoftAsciiString[src]
pub fn split_off(&mut self, at: usize) -> SoftAsciiStringpub fn into_boxed_soft_ascii_str(self) -> Box<SoftAsciiStr>[src]
pub fn into_boxed_soft_ascii_str(self) -> Box<SoftAsciiStr>pub fn into_boxed_str(self) -> Box<str>[src]
pub fn into_boxed_str(self) -> Box<str>pub fn is_ascii(&self) -> bool[src]
pub fn is_ascii(&self) -> boolimpl SoftAsciiString[src]
impl SoftAsciiStringpub fn as_bytes(&self) -> &[u8][src]
pub fn as_bytes(&self) -> &[u8]pub fn capacity(&self) -> usize[src]
pub fn capacity(&self) -> usizepub fn len(&self) -> usize[src]
pub fn len(&self) -> usizepub fn as_str(&self) -> &str[src]
pub fn as_str(&self) -> &strpub fn is_empty(&self) -> bool[src]
pub fn is_empty(&self) -> boolimpl SoftAsciiString[src]
impl SoftAsciiStringpub fn reserve(&mut self, additional: usize)[src]
pub fn reserve(&mut self, additional: usize)pub fn reserve_exact(&mut self, additional: usize)[src]
pub fn reserve_exact(&mut self, additional: usize)pub fn shrink_to_fit(&mut self)[src]
pub fn shrink_to_fit(&mut self)pub fn truncate(&mut self, new_len: usize)[src]
pub fn truncate(&mut self, new_len: usize)pub fn clear(&mut self)[src]
pub fn clear(&mut self)Methods from Deref<Target = SoftAsciiStr>
pub fn revalidate_soft_constraint(&self) -> Result<&Self, FromSourceError<&str>>[src]
pub fn revalidate_soft_constraint(&self) -> Result<&Self, FromSourceError<&str>>reruns checks if the "is us-ascii" soft constraint is still valid
pub fn as_str(&self) -> &str[src]
pub fn as_str(&self) -> &strⓘImportant traits for SoftAsciiLines<'a>pub fn lines(&self) -> SoftAsciiLines[src]
pub fn lines(&self) -> SoftAsciiLinesⓘImportant traits for SoftAsciiSplitWhitespace<'a>pub fn split_whitespace(&self) -> SoftAsciiSplitWhitespace[src]
pub fn split_whitespace(&self) -> SoftAsciiSplitWhitespaceⓘImportant traits for SoftAsciiCharIndices<'a>pub fn char_indices(&self) -> SoftAsciiCharIndices[src]
pub fn char_indices(&self) -> SoftAsciiCharIndicesⓘImportant traits for SoftAsciiChars<'a>pub fn chars(&self) -> SoftAsciiChars[src]
pub fn chars(&self) -> SoftAsciiCharspub fn split_at(&self, mid: usize) -> (&SoftAsciiStr, &SoftAsciiStr)[src]
pub fn split_at(&self, mid: usize) -> (&SoftAsciiStr, &SoftAsciiStr)pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &SoftAsciiStr[src]
pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &SoftAsciiStrpub fn inner_str_mut(&mut self) -> &mut str[src]
pub fn inner_str_mut(&mut self) -> &mut strreturns a mutable str reference to the inner buffer
Soft Constraint
be aware that it is very easy to introduce bugs when
directly editing a SoftAsciiStr as an str. Still
compared to a AsciiStr implementation this won't
introduce unsafety, just possible brakeage of the
soft constraint that the data should be ascii.
pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err> where
F: FromStr, [src]
pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err> where
F: FromStr, pub fn to_lowercase(&self) -> SoftAsciiString[src]
pub fn to_lowercase(&self) -> SoftAsciiStringpub fn to_uppercase(&self) -> SoftAsciiString[src]
pub fn to_uppercase(&self) -> SoftAsciiStringpub fn repeat(&self, n: usize) -> SoftAsciiString[src]
pub fn repeat(&self, n: usize) -> SoftAsciiStringpub fn trim_right(&self) -> &SoftAsciiStr[src]
pub fn trim_right(&self) -> &SoftAsciiStrpub fn trim_left(&self) -> &SoftAsciiStr[src]
pub fn trim_left(&self) -> &SoftAsciiStrpub fn trim(&self) -> &SoftAsciiStr[src]
pub fn trim(&self) -> &SoftAsciiStrpub fn len(&self) -> usize[src]
pub fn len(&self) -> usizepub fn is_empty(&self) -> bool[src]
pub fn is_empty(&self) -> boolpub fn is_char_boundary(&self, index: usize) -> bool[src]
pub fn is_char_boundary(&self, index: usize) -> boolpub fn as_ptr(&self) -> *const u8[src]
pub fn as_ptr(&self) -> *const u8pub fn encode_utf16(&self) -> EncodeUtf16[src]
pub fn encode_utf16(&self) -> EncodeUtf16pub fn is_ascii(&self) -> bool[src]
pub fn is_ascii(&self) -> boolpub fn as_bytes(&self) -> &[u8][src]
pub fn as_bytes(&self) -> &[u8]Trait Implementations
impl PartialEq<SoftAsciiString> for SoftAsciiStr[src]
impl PartialEq<SoftAsciiString> for SoftAsciiStrfn eq(&self, other: &SoftAsciiString) -> bool[src]
fn eq(&self, other: &SoftAsciiString) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl<'a> PartialEq<SoftAsciiString> for &'a SoftAsciiStr[src]
impl<'a> PartialEq<SoftAsciiString> for &'a SoftAsciiStrfn eq(&self, other: &SoftAsciiString) -> bool[src]
fn eq(&self, other: &SoftAsciiString) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Debug for SoftAsciiString[src]
impl Debug for SoftAsciiStringfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for SoftAsciiString[src]
impl Clone for SoftAsciiStringfn clone(&self) -> SoftAsciiString[src]
fn clone(&self) -> SoftAsciiStringReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl PartialEq for SoftAsciiString[src]
impl PartialEq for SoftAsciiStringfn eq(&self, other: &SoftAsciiString) -> bool[src]
fn eq(&self, other: &SoftAsciiString) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &SoftAsciiString) -> bool[src]
fn ne(&self, other: &SoftAsciiString) -> boolThis method tests for !=.
impl Eq for SoftAsciiString[src]
impl Eq for SoftAsciiStringimpl PartialOrd for SoftAsciiString[src]
impl PartialOrd for SoftAsciiStringfn partial_cmp(&self, other: &SoftAsciiString) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &SoftAsciiString) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &SoftAsciiString) -> bool[src]
fn lt(&self, other: &SoftAsciiString) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &SoftAsciiString) -> bool[src]
fn le(&self, other: &SoftAsciiString) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &SoftAsciiString) -> bool[src]
fn gt(&self, other: &SoftAsciiString) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &SoftAsciiString) -> bool[src]
fn ge(&self, other: &SoftAsciiString) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for SoftAsciiString[src]
impl Ord for SoftAsciiStringfn cmp(&self, other: &SoftAsciiString) -> Ordering[src]
fn cmp(&self, other: &SoftAsciiString) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl Hash for SoftAsciiString[src]
impl Hash for SoftAsciiStringfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Default for SoftAsciiString[src]
impl Default for SoftAsciiStringfn default() -> SoftAsciiString[src]
fn default() -> SoftAsciiStringReturns the "default value" for a type. Read more
impl Borrow<str> for SoftAsciiString[src]
impl Borrow<str> for SoftAsciiStringimpl Borrow<SoftAsciiStr> for SoftAsciiString[src]
impl Borrow<SoftAsciiStr> for SoftAsciiStringfn borrow(&self) -> &SoftAsciiStr[src]
fn borrow(&self) -> &SoftAsciiStrImmutably borrows from an owned value. Read more
impl Deref for SoftAsciiString[src]
impl Deref for SoftAsciiStringtype Target = SoftAsciiStr
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
fn deref(&self) -> &Self::TargetDereferences the value.
impl DerefMut for SoftAsciiString[src]
impl DerefMut for SoftAsciiStringimpl<'a> AddAssign<&'a SoftAsciiStr> for SoftAsciiString[src]
impl<'a> AddAssign<&'a SoftAsciiStr> for SoftAsciiStringfn add_assign(&mut self, other: &'a SoftAsciiStr)[src]
fn add_assign(&mut self, other: &'a SoftAsciiStr)Performs the += operation.
impl<'a> Add<&'a SoftAsciiStr> for SoftAsciiString[src]
impl<'a> Add<&'a SoftAsciiStr> for SoftAsciiStringtype Output = Self
The resulting type after applying the + operator.
fn add(self, other: &'a SoftAsciiStr) -> Self[src]
fn add(self, other: &'a SoftAsciiStr) -> SelfPerforms the + operation.
impl PartialEq<SoftAsciiString> for str[src]
impl PartialEq<SoftAsciiString> for strfn eq(&self, other: &SoftAsciiString) -> bool[src]
fn eq(&self, other: &SoftAsciiString) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl<'a> PartialEq<&'a str> for SoftAsciiString[src]
impl<'a> PartialEq<&'a str> for SoftAsciiStringfn eq(&self, other: &&'a str) -> bool[src]
fn eq(&self, other: &&'a str) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl<'a> PartialEq<SoftAsciiString> for &'a str[src]
impl<'a> PartialEq<SoftAsciiString> for &'a strfn eq(&self, other: &SoftAsciiString) -> bool[src]
fn eq(&self, other: &SoftAsciiString) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl PartialEq<str> for SoftAsciiString[src]
impl PartialEq<str> for SoftAsciiStringfn eq(&self, other: &str) -> bool[src]
fn eq(&self, other: &str) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl PartialEq<String> for SoftAsciiString[src]
impl PartialEq<String> for SoftAsciiStringfn eq(&self, other: &String) -> bool[src]
fn eq(&self, other: &String) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl PartialEq<SoftAsciiString> for String[src]
impl PartialEq<SoftAsciiString> for Stringfn eq(&self, other: &SoftAsciiString) -> bool[src]
fn eq(&self, other: &SoftAsciiString) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl<'a> PartialEq<&'a SoftAsciiStr> for SoftAsciiString[src]
impl<'a> PartialEq<&'a SoftAsciiStr> for SoftAsciiStringfn eq(&self, other: &&'a SoftAsciiStr) -> bool[src]
fn eq(&self, other: &&'a SoftAsciiStr) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl<'a> PartialEq<SoftAsciiString> for Cow<'a, str>[src]
impl<'a> PartialEq<SoftAsciiString> for Cow<'a, str>fn eq(&self, other: &SoftAsciiString) -> bool[src]
fn eq(&self, other: &SoftAsciiString) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl<'a> PartialEq<Cow<'a, str>> for SoftAsciiString[src]
impl<'a> PartialEq<Cow<'a, str>> for SoftAsciiStringfn eq(&self, other: &Cow<'a, str>) -> bool[src]
fn eq(&self, other: &Cow<'a, str>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl<'a> PartialEq<SoftAsciiString> for Cow<'a, SoftAsciiStr>[src]
impl<'a> PartialEq<SoftAsciiString> for Cow<'a, SoftAsciiStr>fn eq(&self, other: &SoftAsciiString) -> bool[src]
fn eq(&self, other: &SoftAsciiString) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl<'a> PartialEq<Cow<'a, SoftAsciiStr>> for SoftAsciiString[src]
impl<'a> PartialEq<Cow<'a, SoftAsciiStr>> for SoftAsciiStringfn eq(&self, other: &Cow<'a, SoftAsciiStr>) -> bool[src]
fn eq(&self, other: &Cow<'a, SoftAsciiStr>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl FromIterator<SoftAsciiChar> for SoftAsciiString[src]
impl FromIterator<SoftAsciiChar> for SoftAsciiStringfn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = SoftAsciiChar>, [src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = SoftAsciiChar>, Creates a value from an iterator. Read more
impl<'a> FromIterator<&'a SoftAsciiChar> for SoftAsciiString[src]
impl<'a> FromIterator<&'a SoftAsciiChar> for SoftAsciiStringfn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = &'a SoftAsciiChar>, [src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = &'a SoftAsciiChar>, Creates a value from an iterator. Read more
impl FromIterator<SoftAsciiString> for SoftAsciiString[src]
impl FromIterator<SoftAsciiString> for SoftAsciiStringfn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = SoftAsciiString>, [src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = SoftAsciiString>, Creates a value from an iterator. Read more
impl<'a> FromIterator<Cow<'a, SoftAsciiStr>> for SoftAsciiString[src]
impl<'a> FromIterator<Cow<'a, SoftAsciiStr>> for SoftAsciiStringfn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = Cow<'a, SoftAsciiStr>>, [src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = Cow<'a, SoftAsciiStr>>, Creates a value from an iterator. Read more
impl<'a> FromIterator<&'a SoftAsciiStr> for SoftAsciiString[src]
impl<'a> FromIterator<&'a SoftAsciiStr> for SoftAsciiStringfn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = &'a SoftAsciiStr>, [src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator<Item = &'a SoftAsciiStr>, Creates a value from an iterator. Read more
impl AsRef<SoftAsciiStr> for SoftAsciiString[src]
impl AsRef<SoftAsciiStr> for SoftAsciiStringfn as_ref(&self) -> &SoftAsciiStr[src]
fn as_ref(&self) -> &SoftAsciiStrPerforms the conversion.
impl AsRef<str> for SoftAsciiString[src]
impl AsRef<str> for SoftAsciiStringimpl AsRef<[u8]> for SoftAsciiString[src]
impl AsRef<[u8]> for SoftAsciiStringimpl AsRef<OsStr> for SoftAsciiString[src]
impl AsRef<OsStr> for SoftAsciiStringimpl AsRef<Path> for SoftAsciiString[src]
impl AsRef<Path> for SoftAsciiStringimpl ToSocketAddrs for SoftAsciiString[src]
impl ToSocketAddrs for SoftAsciiStringtype Iter = IntoIter<SocketAddr>
Returned iterator over socket addresses which this type may correspond to. Read more
fn to_socket_addrs(&self) -> Result<IntoIter<SocketAddr>>[src]
fn to_socket_addrs(&self) -> Result<IntoIter<SocketAddr>>Converts this object to an iterator of resolved SocketAddrs. Read more
impl Index<Range<usize>> for SoftAsciiString[src]
impl Index<Range<usize>> for SoftAsciiStringtype Output = SoftAsciiStr
The returned type after indexing.
fn index(&self, index: Range<usize>) -> &Self::Output[src]
fn index(&self, index: Range<usize>) -> &Self::OutputPerforms the indexing (container[index]) operation.
impl Index<RangeFrom<usize>> for SoftAsciiString[src]
impl Index<RangeFrom<usize>> for SoftAsciiStringtype Output = SoftAsciiStr
The returned type after indexing.
fn index(&self, index: RangeFrom<usize>) -> &Self::Output[src]
fn index(&self, index: RangeFrom<usize>) -> &Self::OutputPerforms the indexing (container[index]) operation.
impl Index<RangeTo<usize>> for SoftAsciiString[src]
impl Index<RangeTo<usize>> for SoftAsciiStringtype Output = SoftAsciiStr
The returned type after indexing.
fn index(&self, index: RangeTo<usize>) -> &Self::Output[src]
fn index(&self, index: RangeTo<usize>) -> &Self::OutputPerforms the indexing (container[index]) operation.
impl Index<RangeFull> for SoftAsciiString[src]
impl Index<RangeFull> for SoftAsciiStringtype Output = SoftAsciiStr
The returned type after indexing.
fn index(&self, index: RangeFull) -> &Self::Output[src]
fn index(&self, index: RangeFull) -> &Self::OutputPerforms the indexing (container[index]) operation.
impl IndexMut<Range<usize>> for SoftAsciiString[src]
impl IndexMut<Range<usize>> for SoftAsciiStringfn index_mut(&mut self, index: Range<usize>) -> &mut Self::Output[src]
fn index_mut(&mut self, index: Range<usize>) -> &mut Self::OutputPerforms the mutable indexing (container[index]) operation.
impl IndexMut<RangeFrom<usize>> for SoftAsciiString[src]
impl IndexMut<RangeFrom<usize>> for SoftAsciiStringfn index_mut(&mut self, index: RangeFrom<usize>) -> &mut Self::Output[src]
fn index_mut(&mut self, index: RangeFrom<usize>) -> &mut Self::OutputPerforms the mutable indexing (container[index]) operation.
impl IndexMut<RangeTo<usize>> for SoftAsciiString[src]
impl IndexMut<RangeTo<usize>> for SoftAsciiStringfn index_mut(&mut self, index: RangeTo<usize>) -> &mut Self::Output[src]
fn index_mut(&mut self, index: RangeTo<usize>) -> &mut Self::OutputPerforms the mutable indexing (container[index]) operation.
impl IndexMut<RangeFull> for SoftAsciiString[src]
impl IndexMut<RangeFull> for SoftAsciiStringfn index_mut(&mut self, index: RangeFull) -> &mut Self::Output[src]
fn index_mut(&mut self, index: RangeFull) -> &mut Self::OutputPerforms the mutable indexing (container[index]) operation.
impl Extend<SoftAsciiChar> for SoftAsciiString[src]
impl Extend<SoftAsciiChar> for SoftAsciiStringfn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = SoftAsciiChar>, [src]
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = SoftAsciiChar>, Extends a collection with the contents of an iterator. Read more
impl<'a> Extend<&'a SoftAsciiChar> for SoftAsciiString[src]
impl<'a> Extend<&'a SoftAsciiChar> for SoftAsciiStringfn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = &'a SoftAsciiChar>, [src]
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = &'a SoftAsciiChar>, Extends a collection with the contents of an iterator. Read more
impl Extend<SoftAsciiString> for SoftAsciiString[src]
impl Extend<SoftAsciiString> for SoftAsciiStringfn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = SoftAsciiString>, [src]
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = SoftAsciiString>, Extends a collection with the contents of an iterator. Read more
impl<'a> Extend<&'a SoftAsciiStr> for SoftAsciiString[src]
impl<'a> Extend<&'a SoftAsciiStr> for SoftAsciiStringfn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = &'a SoftAsciiStr>, [src]
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = &'a SoftAsciiStr>, Extends a collection with the contents of an iterator. Read more
impl<'a> Extend<Cow<'a, SoftAsciiStr>> for SoftAsciiString[src]
impl<'a> Extend<Cow<'a, SoftAsciiStr>> for SoftAsciiStringfn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = Cow<'a, SoftAsciiStr>>, [src]
fn extend<I>(&mut self, iter: I) where
I: IntoIterator<Item = Cow<'a, SoftAsciiStr>>, Extends a collection with the contents of an iterator. Read more
impl<'a> From<Cow<'a, SoftAsciiStr>> for SoftAsciiString[src]
impl<'a> From<Cow<'a, SoftAsciiStr>> for SoftAsciiStringfn from(cow: Cow<'a, SoftAsciiStr>) -> Self[src]
fn from(cow: Cow<'a, SoftAsciiStr>) -> SelfPerforms the conversion.
impl<'a> From<&'a SoftAsciiStr> for SoftAsciiString[src]
impl<'a> From<&'a SoftAsciiStr> for SoftAsciiStringfn from(s: &'a SoftAsciiStr) -> Self[src]
fn from(s: &'a SoftAsciiStr) -> SelfPerforms the conversion.
impl From<Box<SoftAsciiStr>> for SoftAsciiString[src]
impl From<Box<SoftAsciiStr>> for SoftAsciiStringfn from(b: Box<SoftAsciiStr>) -> SoftAsciiString[src]
fn from(b: Box<SoftAsciiStr>) -> SoftAsciiStringPerforms the conversion.
impl Display for SoftAsciiString[src]
impl Display for SoftAsciiStringfn fmt(&self, fter: &mut Formatter) -> Result[src]
fn fmt(&self, fter: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Into<Vec<u8>> for SoftAsciiString[src]
impl Into<Vec<u8>> for SoftAsciiStringimpl Into<String> for SoftAsciiString[src]
impl Into<String> for SoftAsciiStringimpl FromStr for SoftAsciiString[src]
impl FromStr for SoftAsciiStringAuto Trait Implementations
impl Send for SoftAsciiString
impl Send for SoftAsciiStringimpl Sync for SoftAsciiString
impl Sync for SoftAsciiString