Struct opcua_types::service_types::ComplexNumberType
[−]
[src]
pub struct ComplexNumberType {
pub real: Float,
pub imaginary: Float,
}Fields
real: Float
imaginary: Float
Trait Implementations
impl Debug for ComplexNumberType[src]
impl Clone for ComplexNumberType[src]
fn clone(&self) -> ComplexNumberType[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 ComplexNumberType[src]
fn eq(&self, __arg_0: &ComplexNumberType) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ComplexNumberType) -> bool[src]
This method tests for !=.
impl MessageInfo for ComplexNumberType[src]
impl BinaryEncoder<ComplexNumberType> for ComplexNumberType[src]
fn byte_len(&self) -> usize[src]
Returns the byte length of the structure. This calculation should be exact and as efficient as possible. Read more
fn encode<S: Write>(&self, stream: &mut S) -> EncodingResult<usize>[src]
Encodes the instance to the write stream.
fn decode<S: Read>(stream: &mut S) -> EncodingResult<Self>[src]
Decodes an instance from the read stream.