AsMasked

Trait AsMasked 

Source
pub trait AsMasked {
    // Required method
    fn as_masked<R: RangeBounds<usize> + SliceIndex<str>>(
        &self,
        range: R,
        mask_unicode: bool,
    ) -> Line<'_>;
}

Required Methods§

Source

fn as_masked<R: RangeBounds<usize> + SliceIndex<str>>( &self, range: R, mask_unicode: bool, ) -> Line<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AsMasked for str

Source§

fn as_masked<R: RangeBounds<usize> + SliceIndex<str>>( &self, range: R, mask_unicode: bool, ) -> Line<'_>

Source§

impl AsMasked for String

Source§

fn as_masked<R: RangeBounds<usize> + SliceIndex<str>>( &self, range: R, mask_unicode: bool, ) -> Line<'_>

Implementors§