pub struct UniqueConsecutiveDescriptor {
pub batch: i32,
pub row_len: i32,
pub max_unique: i32,
pub return_counts: bool,
pub element: ElementKind,
}Expand description
Descriptor for a unique_consecutive op.
Fields§
§batch: i32Number of independent rows.
row_len: i32Length of each input row.
max_unique: i32Maximum number of unique values the output table can hold per
row. Set to row_len for a worst-case-safe bound.
return_counts: boolWhether to emit per-run counts (y_counts). Today the kernel
writes 1 per detected run-start regardless; this flag is
reserved for future counts-aware variants.
element: ElementKindValue element type.
Trait Implementations§
Source§impl Clone for UniqueConsecutiveDescriptor
impl Clone for UniqueConsecutiveDescriptor
Source§fn clone(&self) -> UniqueConsecutiveDescriptor
fn clone(&self) -> UniqueConsecutiveDescriptor
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 UniqueConsecutiveDescriptor
Auto Trait Implementations§
impl Freeze for UniqueConsecutiveDescriptor
impl RefUnwindSafe for UniqueConsecutiveDescriptor
impl Send for UniqueConsecutiveDescriptor
impl Sync for UniqueConsecutiveDescriptor
impl Unpin for UniqueConsecutiveDescriptor
impl UnsafeUnpin for UniqueConsecutiveDescriptor
impl UnwindSafe for UniqueConsecutiveDescriptor
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