Struct smartnoise_validator::proto::Clamp[][src]

pub struct Clamp {}

Clamp Component

Clamps data to the provided bounds.

If data are numeric, clamping maps elements outside of an interval [lower, upper] to the closer endpoint. If data are categorical, clamping maps elements outside of the categories argument to the associated null. Using clamp sets the categories property for the analysis with value categories plus null_value in the last position.

This struct represents an abstract computation. Arguments are provided via the graph. Additional options are set via the fields on this struct. The return is the result of the clamp on the arguments.

Arguments

Returns

Trait Implementations

impl Clone for Clamp[src]

impl Component for Clamp[src]

impl Debug for Clamp[src]

impl Default for Clamp[src]

impl Expandable for Clamp[src]

impl Message for Clamp[src]

impl PartialEq<Clamp> for Clamp[src]

impl StructuralPartialEq for Clamp[src]

Auto Trait Implementations

impl RefUnwindSafe for Clamp

impl Send for Clamp

impl Sync for Clamp

impl Unpin for Clamp

impl UnwindSafe for Clamp

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]