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