Struct sc2_proto::raw::ActionRawUnitCommand[][src]

pub struct ActionRawUnitCommand {
    pub ability_id: Option<i32>,
    pub unit_tags: Vec<u64>,
    pub queue_command: Option<bool>,
    pub target: Option<ActionRawUnitCommand_oneof_target>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

ability_id: Option<i32>unit_tags: Vec<u64>queue_command: Option<bool>target: Option<ActionRawUnitCommand_oneof_target>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ActionRawUnitCommand[src]

pub fn new() -> ActionRawUnitCommand[src]

pub fn get_ability_id(&self) -> i32[src]

pub fn clear_ability_id(&mut self)[src]

pub fn has_ability_id(&self) -> bool[src]

pub fn set_ability_id(&mut self, v: i32)[src]

pub fn get_target_world_space_pos(&self) -> &Point2D[src]

pub fn clear_target_world_space_pos(&mut self)[src]

pub fn has_target_world_space_pos(&self) -> bool[src]

pub fn set_target_world_space_pos(&mut self, v: Point2D)[src]

pub fn mut_target_world_space_pos(&mut self) -> &mut Point2D[src]

pub fn take_target_world_space_pos(&mut self) -> Point2D[src]

pub fn get_target_unit_tag(&self) -> u64[src]

pub fn clear_target_unit_tag(&mut self)[src]

pub fn has_target_unit_tag(&self) -> bool[src]

pub fn set_target_unit_tag(&mut self, v: u64)[src]

pub fn get_unit_tags(&self) -> &[u64][src]

pub fn clear_unit_tags(&mut self)[src]

pub fn set_unit_tags(&mut self, v: Vec<u64>)[src]

pub fn mut_unit_tags(&mut self) -> &mut Vec<u64>[src]

pub fn take_unit_tags(&mut self) -> Vec<u64>[src]

pub fn get_queue_command(&self) -> bool[src]

pub fn clear_queue_command(&mut self)[src]

pub fn has_queue_command(&self) -> bool[src]

pub fn set_queue_command(&mut self, v: bool)[src]

Trait Implementations

impl Clear for ActionRawUnitCommand[src]

impl Clone for ActionRawUnitCommand[src]

impl Debug for ActionRawUnitCommand[src]

impl Default for ActionRawUnitCommand[src]

impl<'a> Default for &'a ActionRawUnitCommand[src]

impl Message for ActionRawUnitCommand[src]

impl PartialEq<ActionRawUnitCommand> for ActionRawUnitCommand[src]

impl ProtobufValue for ActionRawUnitCommand[src]

impl StructuralPartialEq for ActionRawUnitCommand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.