pub enum WindowUnit {
Rows,
Range,
Groups,
}Expand description
How a window frame measures the distance to its bounds.
Variants§
Rows
ROWS, so a bound counts rows.
Range
RANGE, so a bound is a value offset from the current row’s sort key.
Groups
GROUPS, so a bound counts runs of rows that tie on the sort key.
Trait Implementations§
Source§impl Clone for WindowUnit
impl Clone for WindowUnit
Source§fn clone(&self) -> WindowUnit
fn clone(&self) -> WindowUnit
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 WindowUnit
Source§impl Debug for WindowUnit
impl Debug for WindowUnit
impl Eq for WindowUnit
Source§impl PartialEq for WindowUnit
impl PartialEq for WindowUnit
impl StructuralPartialEq for WindowUnit
Auto Trait Implementations§
impl Freeze for WindowUnit
impl RefUnwindSafe for WindowUnit
impl Send for WindowUnit
impl Sync for WindowUnit
impl Unpin for WindowUnit
impl UnsafeUnpin for WindowUnit
impl UnwindSafe for WindowUnit
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