Expand description
Trait implementations for str.
Re-exportsยง
use super::ParseBoolError;๐use crate::cmp::Ordering;๐use crate::intrinsics::unchecked_sub;๐Experimental use crate::slice::SliceIndex;๐use crate::ub_checks::assert_unsafe_precondition;๐Experimental use crate::ops;๐use crate::range;๐
Traitsยง
- FromStr
- Parse a value from a string
Functionsยง
- check_
range ๐ - Check that a range is in bounds for slicing a string.
If this returns true, it is safe to call
slice.get_unchecked(range)orslice.get_unchecked_mut(range).