Enum dxf::CodePairValue
[−]
[src]
pub enum CodePairValue { Boolean(i16), Integer(i32), Long(i64), Short(i16), Double(f64), Str(String), }
Variants
Boolean(i16)
Integer(i32)
Long(i64)
Short(i16)
Double(f64)
Str(String)
Methods
impl CodePairValue
[src]
fn assert_bool(&self) -> DxfResult<bool>
fn assert_i64(&self) -> DxfResult<i64>
fn assert_i32(&self) -> DxfResult<i32>
fn assert_f64(&self) -> DxfResult<f64>
fn assert_string(&self) -> DxfResult<String>
fn assert_i16(&self) -> DxfResult<i16>
Trait Implementations
impl PartialEq for CodePairValue
[src]
fn eq(&self, __arg_0: &CodePairValue) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CodePairValue) -> bool
This method tests for !=
.
impl Clone for CodePairValue
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more