Struct arrow2::compute::sort::SortOptions
source · pub struct SortOptions {
pub descending: bool,
pub nulls_first: bool,
}
Available on crate feature
compute_sort
only.Expand description
Options that define how sort kernels should behave
Fields§
§descending: bool
Whether to sort in descending order
nulls_first: bool
Whether to sort nulls first
Trait Implementations§
source§impl Clone for SortOptions
impl Clone for SortOptions
source§fn clone(&self) -> SortOptions
fn clone(&self) -> SortOptions
Returns a copy 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 SortOptions
impl Debug for SortOptions
source§impl Default for SortOptions
impl Default for SortOptions
source§impl PartialEq<SortOptions> for SortOptions
impl PartialEq<SortOptions> for SortOptions
source§fn eq(&self, other: &SortOptions) -> bool
fn eq(&self, other: &SortOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SortOptions
impl Eq for SortOptions
impl StructuralEq for SortOptions
impl StructuralPartialEq for SortOptions
Auto Trait Implementations§
impl RefUnwindSafe for SortOptions
impl Send for SortOptions
impl Sync for SortOptions
impl Unpin for SortOptions
impl UnwindSafe for SortOptions
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.