π¬This is a nightly-only experimental API. (
byte_str #134915)Expand description
The ByteStr and ByteString types and trait implementations.
Re-exportsΒ§
use core::borrow::Borrow;πuse core::borrow::BorrowMut;πuse core::byte_str::impl_partial_eq;πExperimental use core::byte_str::impl_partial_eq_n;πExperimental use core::byte_str::impl_partial_eq_ord;πExperimental use core::cmp::Ordering;πuse core::ops::Deref;πuse core::ops::DerefMut;πuse core::ops::DerefPure;πExperimental use core::ops::Index;πuse core::ops::IndexMut;πuse core::ops::Range;πuse core::ops::RangeFrom;πuse core::ops::RangeFull;πuse core::ops::RangeInclusive;πuse core::ops::RangeTo;πuse core::ops::RangeToInclusive;πuse core::str::FromStr;πuse core::str::Utf8Error;πuse core::fmt;πuse core::hash;πuse crate::alloc::Allocator;πuse crate::borrow::Cow;πuse crate::borrow::ToOwned;πuse crate::boxed::Box;πuse crate::rc::Rc;πuse crate::string::String;πuse crate::sync::Arc;πuse crate::vec::Vec;π
MacrosΒ§
- impl_
partial_ πeq_ ord_ cow Experimental
StructsΒ§
- ByteStr
Experimental - A wrapper for
&[u8]representing a human-readable string thatβs conventionally, but not always, UTF-8. - Byte
String Experimental - A wrapper for
Vec<u8>representing a human-readable string thatβs conventionally, but not always, UTF-8.