pub fn as_slice(&self) -> &[Utf8Range] {
        use self::Utf8Sequence::*;
        match *self {
            One(ref r) => unsafe { slice::from_raw_parts(r, 1) },
            Two(ref r) => &r[..],
            Three(ref r) => &r[..],
            Four(ref r) => &r[..],
        }
    }
/// Returns the underlying sequence of byte ranges as a slice.
Returns the underlying sequence of byte ranges as a slice.
Returns the underlying sequence of byte ranges as a slice .
pub fn as_slice(&self) -> &[Utf8Range] {
        use self::Utf8Sequence::*;
        match *self {
            One(ref r) => unsafe { slice::from_raw_parts(r, 1) },
            Two(ref r) => &r[..],
            Three(ref r) => &r[..],
            Four(ref r) => &r[..],
        }
    }
pub fn as_slice ( & self ) -> & [ Utf8Range ] { use self :: Utf8Sequence :: * ; match * self { One ( ref r ) => unsafe { slice :: from_raw_parts ( r , 1 ) } , Two ( ref r ) => & r [ .. ] , Three ( ref r ) => & r [ .. ] , Four ( ref r ) => & r [ .. ] , } }
Returns the underlying sequence of byte ranges as a slice.
Returns the underlying sequence of byte ranges as a slice .
&self
&self