[][src]Trait ascii::AsMutAsciiStr

pub trait AsMutAsciiStr: AsAsciiStr {
    fn slice_ascii_mut<R>(
        &mut self,
        range: R
    ) -> Result<&mut AsciiStr, AsAsciiStrError>
    where
        R: SliceIndex<[Self::Inner], Output = [Self::Inner]>
;
unsafe fn as_mut_ascii_str_unchecked(&mut self) -> &mut AsciiStr; fn as_mut_ascii_str(&mut self) -> Result<&mut AsciiStr, AsAsciiStrError> { ... } }

Convert mutable slices of bytes or AsciiChar to AsciiStr.

Required methods

fn slice_ascii_mut<R>(
    &mut self,
    range: R
) -> Result<&mut AsciiStr, AsAsciiStrError> where
    R: SliceIndex<[Self::Inner], Output = [Self::Inner]>, 

Convert a subslice to an ASCII slice.

unsafe fn as_mut_ascii_str_unchecked(&mut self) -> &mut AsciiStr

Convert to a mutable ASCII slice without checking for non-ASCII characters.

Loading content...

Provided methods

fn as_mut_ascii_str(&mut self) -> Result<&mut AsciiStr, AsAsciiStrError>

Convert to a mutable ASCII slice.

Loading content...

Implementations on Foreign Types

impl<'a, T: ?Sized> AsMutAsciiStr for &'a mut T where
    T: AsMutAsciiStr
[src]

impl AsMutAsciiStr for [AsciiChar][src]

impl AsMutAsciiStr for [u8][src]

impl AsMutAsciiStr for str[src]

Loading content...

Implementors

impl AsMutAsciiStr for AsciiStr[src]

Loading content...
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy