pub struct Cut {
pub values: Vec<Value>,
pub levels: Vec<String>,
}Expand description
A discretised variable: one interval label per input value (Value::Na
for missing / non-finite input) and the interval labels in order — use
values as a group / fill column and levels for the scale order.
Fields§
§values: Vec<Value>§levels: Vec<String>Trait Implementations§
impl StructuralPartialEq for Cut
Auto Trait Implementations§
impl Forget for Cut
impl Freeze for Cut
impl Move for Cut
impl RefUnwindSafe for Cut
impl Send for Cutwhere
RawVecInner: Send,
impl Sync for Cutwhere
RawVecInner: Sync,
impl Unpin for Cut
impl UnsafeUnpin for Cutwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Cutwhere
RawVecInner: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more