Enum nu_protocol::value::range::RangeInclusion[][src]

pub enum RangeInclusion {
    Inclusive,
    Exclusive,
}

The two types of ways to include a range end. Inclusive means to include the value (eg 1..3 inclusive would include the 3 value). Exclusive excludes the value (eg 1..3 exclusive does not include 3 value)

Variants

Inclusive
Exclusive

Implementations

impl RangeInclusion[src]

pub fn debug_left_bracket(self) -> DebugDocBuilder[src]

Get a RangeInclusion left bracket ready for pretty printing

pub fn debug_right_bracket(self) -> DebugDocBuilder[src]

Get a RangeInclusion right bracket ready for pretty printing

Trait Implementations

impl Clone for RangeInclusion[src]

impl Copy for RangeInclusion[src]

impl Debug for RangeInclusion[src]

impl<'de> Deserialize<'de> for RangeInclusion[src]

impl Eq for RangeInclusion[src]

impl Hash for RangeInclusion[src]

impl Ord for RangeInclusion[src]

impl PartialEq<RangeInclusion> for RangeInclusion[src]

impl PartialOrd<RangeInclusion> for RangeInclusion[src]

impl Serialize for RangeInclusion[src]

impl StructuralEq for RangeInclusion[src]

impl StructuralPartialEq for RangeInclusion[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> SpannedItem for T[src]

impl<T> TaggedItem for 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.