pub struct RawPositionMetricsU32;
Expand description
Index based on the raw size of an element.
Trait Implementations§
Source§impl Clone for RawPositionMetricsU32
impl Clone for RawPositionMetricsU32
Source§fn clone(&self) -> RawPositionMetricsU32
fn clone(&self) -> RawPositionMetricsU32
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RawPositionMetricsU32
impl Debug for RawPositionMetricsU32
Source§impl<E: ContentTraits> FindOffset<E> for RawPositionMetricsU32
impl<E: ContentTraits> FindOffset<E> for RawPositionMetricsU32
fn index_to_offset(offset: Self::Value) -> usize
Source§impl PartialEq for RawPositionMetricsU32
impl PartialEq for RawPositionMetricsU32
Source§impl<E: ContentTraits> TreeMetrics<E> for RawPositionMetricsU32
impl<E: ContentTraits> TreeMetrics<E> for RawPositionMetricsU32
const CAN_COUNT_ITEMS: bool = true
type Update = isize
type Value = u32
fn increment_marker(marker: &mut Self::Update, entry: &E)
fn decrement_marker(marker: &mut Self::Update, entry: &E)
fn decrement_marker_by_val(marker: &mut Self::Update, val: &Self::Value)
fn update_offset_by_marker(offset: &mut Self::Value, by: &Self::Update)
fn increment_offset(offset: &mut Self::Value, by: &E)
fn count_items(idx: Self::Value) -> usize
impl Copy for RawPositionMetricsU32
impl Eq for RawPositionMetricsU32
impl StructuralPartialEq for RawPositionMetricsU32
Auto Trait Implementations§
impl Freeze for RawPositionMetricsU32
impl RefUnwindSafe for RawPositionMetricsU32
impl Send for RawPositionMetricsU32
impl Sync for RawPositionMetricsU32
impl Unpin for RawPositionMetricsU32
impl UnwindSafe for RawPositionMetricsU32
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