pub struct StringMemoryLayoutMetrics {
pub string_size: usize,
pub string_alignment: usize,
pub size_data: usize,
pub offset_data: usize,
pub size_len: usize,
pub offset_len: usize,
pub len_is_unsigned: bool,
}Fields§
§string_size: usize§string_alignment: usize§size_data: usize§offset_data: usize§size_len: usize§offset_len: usize§len_is_unsigned: boolImplementations§
Source§impl StringMemoryLayoutMetrics
impl StringMemoryLayoutMetrics
pub fn from_string<const CAPACITY: usize>(v: &StaticString<CAPACITY>) -> Self
Auto Trait Implementations§
impl Freeze for StringMemoryLayoutMetrics
impl RefUnwindSafe for StringMemoryLayoutMetrics
impl Send for StringMemoryLayoutMetrics
impl Sync for StringMemoryLayoutMetrics
impl Unpin for StringMemoryLayoutMetrics
impl UnwindSafe for StringMemoryLayoutMetrics
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