Struct dxf::CodePair
[−]
[src]
pub struct CodePair { pub code: i32, pub value: CodePairValue, }
Fields
code: i32
value: CodePairValue
Methods
impl CodePair
[src]
fn new(code: i32, val: CodePairValue) -> Self
fn new_str(code: i32, val: &str) -> Self
fn new_string(code: i32, val: &String) -> Self
fn new_i16(code: i32, val: i16) -> Self
fn new_f64(code: i32, val: f64) -> Self
fn new_i64(code: i32, val: i64) -> Self
fn new_i32(code: i32, val: i32) -> Self
fn new_bool(code: i32, val: bool) -> Self
Trait Implementations
impl Clone for CodePair
[src]
fn clone(&self) -> CodePair
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
impl PartialEq for CodePair
[src]
fn eq(&self, __arg_0: &CodePair) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CodePair) -> bool
This method tests for !=
.