Struct sc2_proto::data::UnitTypeData
[−]
[src]
pub struct UnitTypeData { /* fields omitted */ }
Methods
impl UnitTypeData
[src]
fn new() -> UnitTypeData
[src]
fn default_instance() -> &'static UnitTypeData
[src]
fn clear_unit_id(&mut self)
[src]
fn has_unit_id(&self) -> bool
[src]
fn set_unit_id(&mut self, v: u32)
[src]
fn get_unit_id(&self) -> u32
[src]
fn clear_name(&mut self)
[src]
fn has_name(&self) -> bool
[src]
fn set_name(&mut self, v: String)
[src]
fn mut_name(&mut self) -> &mut String
[src]
fn take_name(&mut self) -> String
[src]
fn get_name(&self) -> &str
[src]
fn clear_available(&mut self)
[src]
fn has_available(&self) -> bool
[src]
fn set_available(&mut self, v: bool)
[src]
fn get_available(&self) -> bool
[src]
fn clear_cargo_size(&mut self)
[src]
fn has_cargo_size(&self) -> bool
[src]
fn set_cargo_size(&mut self, v: u32)
[src]
fn get_cargo_size(&self) -> u32
[src]
fn clear_mineral_cost(&mut self)
[src]
fn has_mineral_cost(&self) -> bool
[src]
fn set_mineral_cost(&mut self, v: u32)
[src]
fn get_mineral_cost(&self) -> u32
[src]
fn clear_vespene_cost(&mut self)
[src]
fn has_vespene_cost(&self) -> bool
[src]
fn set_vespene_cost(&mut self, v: u32)
[src]
fn get_vespene_cost(&self) -> u32
[src]
fn clear_food_required(&mut self)
[src]
fn has_food_required(&self) -> bool
[src]
fn set_food_required(&mut self, v: f32)
[src]
fn get_food_required(&self) -> f32
[src]
fn clear_food_provided(&mut self)
[src]
fn has_food_provided(&self) -> bool
[src]
fn set_food_provided(&mut self, v: f32)
[src]
fn get_food_provided(&self) -> f32
[src]
fn clear_ability_id(&mut self)
[src]
fn has_ability_id(&self) -> bool
[src]
fn set_ability_id(&mut self, v: u32)
[src]
fn get_ability_id(&self) -> u32
[src]
fn clear_race(&mut self)
[src]
fn has_race(&self) -> bool
[src]
fn set_race(&mut self, v: Race)
[src]
fn get_race(&self) -> Race
[src]
fn clear_build_time(&mut self)
[src]
fn has_build_time(&self) -> bool
[src]
fn set_build_time(&mut self, v: f32)
[src]
fn get_build_time(&self) -> f32
[src]
fn clear_has_vespene(&mut self)
[src]
fn has_has_vespene(&self) -> bool
[src]
fn set_has_vespene(&mut self, v: bool)
[src]
fn get_has_vespene(&self) -> bool
[src]
fn clear_has_minerals(&mut self)
[src]
fn has_has_minerals(&self) -> bool
[src]
fn set_has_minerals(&mut self, v: bool)
[src]
fn get_has_minerals(&self) -> bool
[src]
fn clear_tech_alias(&mut self)
[src]
fn set_tech_alias(&mut self, v: Vec<u32>)
[src]
fn mut_tech_alias(&mut self) -> &mut Vec<u32>
[src]
fn take_tech_alias(&mut self) -> Vec<u32>
[src]
fn get_tech_alias(&self) -> &[u32]
[src]
fn clear_unit_alias(&mut self)
[src]
fn has_unit_alias(&self) -> bool
[src]
fn set_unit_alias(&mut self, v: u32)
[src]
fn get_unit_alias(&self) -> u32
[src]
fn clear_tech_requirement(&mut self)
[src]
fn has_tech_requirement(&self) -> bool
[src]
fn set_tech_requirement(&mut self, v: u32)
[src]
fn get_tech_requirement(&self) -> u32
[src]
fn clear_require_attached(&mut self)
[src]
fn has_require_attached(&self) -> bool
[src]
fn set_require_attached(&mut self, v: bool)
[src]
fn get_require_attached(&self) -> bool
[src]
fn clear_attributes(&mut self)
[src]
fn set_attributes(&mut self, v: Vec<Attribute>)
[src]
fn mut_attributes(&mut self) -> &mut Vec<Attribute>
[src]
fn take_attributes(&mut self) -> Vec<Attribute>
[src]
fn get_attributes(&self) -> &[Attribute]
[src]
fn clear_movement_speed(&mut self)
[src]
fn has_movement_speed(&self) -> bool
[src]
fn set_movement_speed(&mut self, v: f32)
[src]
fn get_movement_speed(&self) -> f32
[src]
fn clear_armor(&mut self)
[src]
fn has_armor(&self) -> bool
[src]
fn set_armor(&mut self, v: f32)
[src]
fn get_armor(&self) -> f32
[src]
fn clear_weapons(&mut self)
[src]
fn set_weapons(&mut self, v: RepeatedField<Weapon>)
[src]
fn mut_weapons(&mut self) -> &mut RepeatedField<Weapon>
[src]
fn take_weapons(&mut self) -> RepeatedField<Weapon>
[src]
fn get_weapons(&self) -> &[Weapon]
[src]
Trait Implementations
impl PartialEq for UnitTypeData
[src]
fn eq(&self, __arg_0: &UnitTypeData) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UnitTypeData) -> bool
[src]
This method tests for !=
.
impl Clone for UnitTypeData
[src]
fn clone(&self) -> UnitTypeData
[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 UnitTypeData
[src]
fn default() -> UnitTypeData
[src]
Returns the "default value" for a type. Read more
impl Sync for UnitTypeData
[src]
impl Message for UnitTypeData
[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>