[][src]Enum flatzinc::ParDeclItem

pub enum ParDeclItem {
    Bool {
        id: String,
        bool: bool,
    },
    Int {
        id: String,
        int: i128,
    },
    Float {
        id: String,
        float: f64,
    },
    SetOfInt {
        id: String,
        set_literal: SetLiteral,
    },
    ArrayOfBool {
        ix: IndexSet,
        id: String,
        expr: Vec<bool>,
    },
    ArrayOfInt {
        ix: IndexSet,
        id: String,
        expr: Vec<i128>,
    },
    ArrayOfFloat {
        ix: IndexSet,
        id: String,
        expr: Vec<f64>,
    },
    ArrayOfSet {
        ix: IndexSet,
        id: String,
        expr: Vec<SetLiteral>,
    },
}

Variants

Bool

Fields of Bool

id: Stringbool: bool
Int

Fields of Int

id: Stringint: i128
Float

Fields of Float

id: Stringfloat: f64
SetOfInt

Fields of SetOfInt

id: Stringset_literal: SetLiteral
ArrayOfBool

Fields of ArrayOfBool

ix: IndexSetid: Stringexpr: Vec<bool>
ArrayOfInt

Fields of ArrayOfInt

ix: IndexSetid: Stringexpr: Vec<i128>
ArrayOfFloat

Fields of ArrayOfFloat

ix: IndexSetid: Stringexpr: Vec<f64>
ArrayOfSet

Fields of ArrayOfSet

ix: IndexSetid: Stringexpr: Vec<SetLiteral>

Trait Implementations

impl Clone for ParDeclItem[src]

impl Debug for ParDeclItem[src]

impl PartialEq<ParDeclItem> for ParDeclItem[src]

impl StructuralPartialEq for ParDeclItem[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> 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.