Enum reproto_core::RpEnumType
[−]
[src]
pub enum RpEnumType { String, U32, U64, I32, I64, }
Model for enum types
Variants
String
U32
U64
I32
I64
Methods
impl RpEnumType
[src]
pub fn is_assignable_from(&self, value: &RpValue) -> bool
[src]
pub fn validate_number(&self, number: &RpNumber) -> Result<()>
[src]
Validate that the given number doesn't violate expected numeric bounds.
Trait Implementations
impl Debug for RpEnumType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for RpEnumType
[src]
fn clone(&self) -> RpEnumType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for RpEnumType
[src]
fn eq(&self, __arg_0: &RpEnumType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.