Enum below_model::Field [−][src]
pub enum Field {
U32(u32),
U64(u64),
I32(i32),
I64(i64),
F64(f64),
Str(String),
PidState(PidState),
}
Expand description
A wrapper for different field types used in Models. By this way we can query different fields in a single function without using Box.
Variants
U32(u32)
Tuple Fields of U32
0: u32
U64(u64)
Tuple Fields of U64
0: u64
I32(i32)
Tuple Fields of I32
0: i32
I64(i64)
Tuple Fields of I64
0: i64
F64(f64)
Tuple Fields of F64
0: f64
Str(String)
Tuple Fields of Str
0: String
PidState(PidState)
Tuple Fields of PidState
0: PidState
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Field
impl UnwindSafe for Field
Blanket Implementations
Mutably borrows from an owned value. Read more