pub enum PartitionOfBoundsAst {
Range {
lower: Box<Expr>,
upper: Box<Expr>,
},
Default,
}Variants§
Range
FOR VALUES FROM (lower) TO (upper). Expr is ~144 bytes
(lits include vector bodies), so we box both bounds to keep
the variant size in line with Default for clippy and to
minimise per-statement footprint when the partition shape
isn’t in use.
Default
Trait Implementations§
Source§impl Clone for PartitionOfBoundsAst
impl Clone for PartitionOfBoundsAst
Source§fn clone(&self) -> PartitionOfBoundsAst
fn clone(&self) -> PartitionOfBoundsAst
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 moreSource§impl Debug for PartitionOfBoundsAst
impl Debug for PartitionOfBoundsAst
Source§impl PartialEq for PartitionOfBoundsAst
impl PartialEq for PartitionOfBoundsAst
Source§fn eq(&self, other: &PartitionOfBoundsAst) -> bool
fn eq(&self, other: &PartitionOfBoundsAst) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PartitionOfBoundsAst
Auto Trait Implementations§
impl Freeze for PartitionOfBoundsAst
impl RefUnwindSafe for PartitionOfBoundsAst
impl Send for PartitionOfBoundsAst
impl Sync for PartitionOfBoundsAst
impl Unpin for PartitionOfBoundsAst
impl UnsafeUnpin for PartitionOfBoundsAst
impl UnwindSafe for PartitionOfBoundsAst
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