pub struct IndexShape(/* private fields */);Implementations§
Source§impl IndexShape
impl IndexShape
pub fn set_bool( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<bool>, )
pub fn set_f32( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<f32>, )
pub fn set_f64( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<f64>, )
pub fn set_i8( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<i8>, )
pub fn set_i16( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<i16>, )
pub fn set_i32( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<i32>, )
pub fn set_i64( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<i64>, )
pub fn set_i128( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<i128>, )
pub fn set_u8( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<u8>, )
pub fn set_u16( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<u16>, )
pub fn set_u32( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<u32>, )
pub fn set_u64( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<u64>, )
pub fn set_u128( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<u128>, )
pub fn set_row_number( &self, key: &mut EncodedIndexKey, index: usize, value: impl Into<u64>, )
pub fn set_date(&self, key: &mut EncodedIndexKey, index: usize, value: Date)
pub fn set_datetime( &self, key: &mut EncodedIndexKey, index: usize, value: DateTime, )
pub fn set_time(&self, key: &mut EncodedIndexKey, index: usize, value: Time)
pub fn set_duration( &self, key: &mut EncodedIndexKey, index: usize, value: Duration, )
pub fn set_uuid4(&self, key: &mut EncodedIndexKey, index: usize, value: Uuid4)
pub fn set_uuid7(&self, key: &mut EncodedIndexKey, index: usize, value: Uuid7)
pub fn set_identity_id( &self, key: &mut EncodedIndexKey, index: usize, value: IdentityId, )
pub fn set_none(&self, key: &mut EncodedIndexKey, index: usize)
Source§impl IndexShape
impl IndexShape
pub fn new(types: &[ValueType], directions: &[SortDirection]) -> Result<Self>
Methods from Deref<Target = IndexShapeInner>§
pub fn allocate_key(&self) -> EncodedIndexKey
pub fn data_offset(&self) -> usize
pub fn value(&self, index: usize) -> ValueType
pub fn direction(&self, index: usize) -> &SortDirection
Trait Implementations§
Source§impl Clone for IndexShape
impl Clone for IndexShape
Source§impl Debug for IndexShape
impl Debug for IndexShape
Auto Trait Implementations§
impl Freeze for IndexShape
impl RefUnwindSafe for IndexShape
impl Send for IndexShape
impl Sync for IndexShape
impl Unpin for IndexShape
impl UnsafeUnpin for IndexShape
impl UnwindSafe for IndexShape
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more