[][src]Trait ascii::AsMutAsciiStr

pub trait AsMutAsciiStr {
    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 to AsciiStr.

Required methods

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

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

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...