pub struct StrData {
pub values: Vec<u32>,
pub elem: Ty,
}Expand description
A string literal’s decoded contents.
Fields§
§values: Vec<u32>The elements, without the terminating NUL: bytes for a narrow or
u8"…" literal, UTF-16 code units for u"…", and character values for
U"…" and L"…".
elem: TyThe type of one element: char, char8_t, char16_t, char32_t or
wchar_t, whichever prefix the literal was written with.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StrData
impl RefUnwindSafe for StrData
impl Send for StrData
impl Sync for StrData
impl Unpin for StrData
impl UnsafeUnpin for StrData
impl UnwindSafe for StrData
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