pub struct KthvalueDescriptor {
pub batch: i32,
pub row_len: i32,
pub k: i32,
pub element: ElementKind,
}Expand description
Descriptor for a kthvalue op.
k is 0-indexed (k = 0 → smallest value, k = row_len - 1 →
largest).
Fields§
§batch: i32Number of independent rows.
row_len: i32Length of each row.
k: i32Which order statistic to return (0-indexed). Trailblazer cap:
k < 64 (composes a bottom-(k+1) topk).
element: ElementKindValue element type.
Trait Implementations§
Source§impl Clone for KthvalueDescriptor
impl Clone for KthvalueDescriptor
Source§fn clone(&self) -> KthvalueDescriptor
fn clone(&self) -> KthvalueDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KthvalueDescriptor
Auto Trait Implementations§
impl Freeze for KthvalueDescriptor
impl RefUnwindSafe for KthvalueDescriptor
impl Send for KthvalueDescriptor
impl Sync for KthvalueDescriptor
impl Unpin for KthvalueDescriptor
impl UnsafeUnpin for KthvalueDescriptor
impl UnwindSafe for KthvalueDescriptor
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