#[non_exhaustive]pub enum RStr {
Na,
Value {
bytes: Arc<[u8]>,
encoding: REncoding,
native_encoding: Option<Arc<str>>,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
impl Eq for RStr
impl StructuralPartialEq for RStr
Auto Trait Implementations§
impl Freeze for RStr
impl RefUnwindSafe for RStr
impl Send for RStr
impl Sync for RStr
impl Unpin for RStr
impl UnsafeUnpin for RStr
impl UnwindSafe for RStr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more