Struct rift::protocol::TMapIdentifier
[−]
[src]
pub struct TMapIdentifier { pub key_type: Option<TType>, pub value_type: Option<TType>, pub size: i32, }
Identifies a map.
Fields
key_type: Option<TType>
Type of the map key. One of TType
.
value_type: Option<TType>
Type of the map value. One of TType
.
size: i32
Number of entries contained in this map.
Methods
impl TMapIdentifier
[src]
fn new<K, V>(key_type: K, value_type: V, size: i32) -> TMapIdentifier where
K: Into<Option<TType>>,
V: Into<Option<TType>>,
K: Into<Option<TType>>,
V: Into<Option<TType>>,
Convenience constructor to create a new TMapIdentifier
instance.
Trait Implementations
impl Clone for TMapIdentifier
[src]
fn clone(&self) -> TMapIdentifier
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 Debug for TMapIdentifier
[src]
impl Eq for TMapIdentifier
[src]
impl PartialEq for TMapIdentifier
[src]
fn eq(&self, __arg_0: &TMapIdentifier) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TMapIdentifier) -> bool
This method tests for !=
.