Struct partiql_value::NullSortedValue
source · pub struct NullSortedValue<'a, const NULLS_FIRST: bool, T>(pub &'a T);Expand description
A wrapper on [T] that specifies if a null or missing value should be ordered before
([NULLS_FIRST] is true) or after ([NULLS_FIRST] is false) other values.
Tuple Fields§
§0: &'a TTrait Implementations§
source§impl<'a, const NULLS_FIRST: bool> Ord for NullSortedValue<'a, NULLS_FIRST, Bag>
impl<'a, const NULLS_FIRST: bool> Ord for NullSortedValue<'a, NULLS_FIRST, Bag>
source§impl<'a, const NULLS_FIRST: bool> Ord for NullSortedValue<'a, NULLS_FIRST, List>
impl<'a, const NULLS_FIRST: bool> Ord for NullSortedValue<'a, NULLS_FIRST, List>
source§impl<'a, const NULLS_FIRST: bool> Ord for NullSortedValue<'a, NULLS_FIRST, Tuple>
impl<'a, const NULLS_FIRST: bool> Ord for NullSortedValue<'a, NULLS_FIRST, Tuple>
source§impl<'a, const NULLS_FIRST: bool> Ord for NullSortedValue<'a, NULLS_FIRST, Value>
impl<'a, const NULLS_FIRST: bool> Ord for NullSortedValue<'a, NULLS_FIRST, Value>
source§impl<'a, const NULLS_FIRST: bool, T: PartialEq> PartialEq for NullSortedValue<'a, NULLS_FIRST, T>
impl<'a, const NULLS_FIRST: bool, T: PartialEq> PartialEq for NullSortedValue<'a, NULLS_FIRST, T>
source§fn eq(&self, other: &NullSortedValue<'a, NULLS_FIRST, T>) -> bool
fn eq(&self, other: &NullSortedValue<'a, NULLS_FIRST, T>) -> bool
Tests for
self and other values to be equal, and is used by ==.source§impl<'a, const NULLS_FIRST: bool, T> PartialOrd for NullSortedValue<'a, NULLS_FIRST, T>
impl<'a, const NULLS_FIRST: bool, T> PartialOrd for NullSortedValue<'a, NULLS_FIRST, T>
impl<'a, const NULLS_FIRST: bool, T: Eq> Eq for NullSortedValue<'a, NULLS_FIRST, T>
impl<'a, const NULLS_FIRST: bool, T> StructuralPartialEq for NullSortedValue<'a, NULLS_FIRST, T>
Auto Trait Implementations§
impl<'a, const NULLS_FIRST: bool, T> Freeze for NullSortedValue<'a, NULLS_FIRST, T>
impl<'a, const NULLS_FIRST: bool, T> RefUnwindSafe for NullSortedValue<'a, NULLS_FIRST, T>where
T: RefUnwindSafe,
impl<'a, const NULLS_FIRST: bool, T> Send for NullSortedValue<'a, NULLS_FIRST, T>where
T: Sync,
impl<'a, const NULLS_FIRST: bool, T> Sync for NullSortedValue<'a, NULLS_FIRST, T>where
T: Sync,
impl<'a, const NULLS_FIRST: bool, T> Unpin for NullSortedValue<'a, NULLS_FIRST, T>
impl<'a, const NULLS_FIRST: bool, T> UnwindSafe for NullSortedValue<'a, NULLS_FIRST, T>where
T: RefUnwindSafe,
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
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