Struct sc2_proto::ui::UnitInfo
[−]
[src]
pub struct UnitInfo { /* fields omitted */ }
Methods
impl UnitInfo
[src]
fn new() -> UnitInfo
[src]
fn default_instance() -> &'static UnitInfo
[src]
fn clear_unit_type(&mut self)
[src]
fn has_unit_type(&self) -> bool
[src]
fn set_unit_type(&mut self, v: u32)
[src]
fn get_unit_type(&self) -> u32
[src]
fn clear_player_relative(&mut self)
[src]
fn has_player_relative(&self) -> bool
[src]
fn set_player_relative(&mut self, v: u32)
[src]
fn get_player_relative(&self) -> u32
[src]
fn clear_health(&mut self)
[src]
fn has_health(&self) -> bool
[src]
fn set_health(&mut self, v: i32)
[src]
fn get_health(&self) -> i32
[src]
fn clear_shields(&mut self)
[src]
fn has_shields(&self) -> bool
[src]
fn set_shields(&mut self, v: i32)
[src]
fn get_shields(&self) -> i32
[src]
fn clear_energy(&mut self)
[src]
fn has_energy(&self) -> bool
[src]
fn set_energy(&mut self, v: i32)
[src]
fn get_energy(&self) -> i32
[src]
fn clear_transport_slots_taken(&mut self)
[src]
fn has_transport_slots_taken(&self) -> bool
[src]
fn set_transport_slots_taken(&mut self, v: i32)
[src]
fn get_transport_slots_taken(&self) -> i32
[src]
fn clear_build_progress(&mut self)
[src]
fn has_build_progress(&self) -> bool
[src]
fn set_build_progress(&mut self, v: f32)
[src]
fn get_build_progress(&self) -> f32
[src]
fn clear_add_on(&mut self)
[src]
fn has_add_on(&self) -> bool
[src]
fn set_add_on(&mut self, v: UnitInfo)
[src]
fn mut_add_on(&mut self) -> &mut UnitInfo
[src]
fn take_add_on(&mut self) -> UnitInfo
[src]
fn get_add_on(&self) -> &UnitInfo
[src]
Trait Implementations
impl PartialEq for UnitInfo
[src]
fn eq(&self, __arg_0: &UnitInfo) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UnitInfo) -> bool
[src]
This method tests for !=
.
impl Clone for UnitInfo
[src]
fn clone(&self) -> UnitInfo
[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 Default for UnitInfo
[src]
impl Sync for UnitInfo
[src]
impl Message for UnitInfo
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &Any
[src]
fn as_any_mut(&mut self) -> &mut Any
[src]
fn into_any(self: Box<Self>) -> Box<Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut Write
) -> Result<(), ProtobufError>