Struct sc2_proto::sc2api::Action[][src]

pub struct Action {
    pub action_raw: SingularPtrField<ActionRaw>,
    pub action_feature_layer: SingularPtrField<ActionSpatial>,
    pub action_render: SingularPtrField<ActionSpatial>,
    pub action_ui: SingularPtrField<ActionUI>,
    pub action_chat: SingularPtrField<ActionChat>,
    pub game_loop: Option<u32>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

action_raw: SingularPtrField<ActionRaw>action_feature_layer: SingularPtrField<ActionSpatial>action_render: SingularPtrField<ActionSpatial>action_ui: SingularPtrField<ActionUI>action_chat: SingularPtrField<ActionChat>game_loop: Option<u32>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Action[src]

pub fn new() -> Action[src]

pub fn get_action_raw(&self) -> &ActionRaw[src]

pub fn clear_action_raw(&mut self)[src]

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

pub fn set_action_raw(&mut self, v: ActionRaw)[src]

pub fn mut_action_raw(&mut self) -> &mut ActionRaw[src]

pub fn take_action_raw(&mut self) -> ActionRaw[src]

pub fn get_action_feature_layer(&self) -> &ActionSpatial[src]

pub fn clear_action_feature_layer(&mut self)[src]

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

pub fn set_action_feature_layer(&mut self, v: ActionSpatial)[src]

pub fn mut_action_feature_layer(&mut self) -> &mut ActionSpatial[src]

pub fn take_action_feature_layer(&mut self) -> ActionSpatial[src]

pub fn get_action_render(&self) -> &ActionSpatial[src]

pub fn clear_action_render(&mut self)[src]

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

pub fn set_action_render(&mut self, v: ActionSpatial)[src]

pub fn mut_action_render(&mut self) -> &mut ActionSpatial[src]

pub fn take_action_render(&mut self) -> ActionSpatial[src]

pub fn get_action_ui(&self) -> &ActionUI[src]

pub fn clear_action_ui(&mut self)[src]

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

pub fn set_action_ui(&mut self, v: ActionUI)[src]

pub fn mut_action_ui(&mut self) -> &mut ActionUI[src]

pub fn take_action_ui(&mut self) -> ActionUI[src]

pub fn get_action_chat(&self) -> &ActionChat[src]

pub fn clear_action_chat(&mut self)[src]

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

pub fn set_action_chat(&mut self, v: ActionChat)[src]

pub fn mut_action_chat(&mut self) -> &mut ActionChat[src]

pub fn take_action_chat(&mut self) -> ActionChat[src]

pub fn get_game_loop(&self) -> u32[src]

pub fn clear_game_loop(&mut self)[src]

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

pub fn set_game_loop(&mut self, v: u32)[src]

Trait Implementations

impl Clear for Action[src]

impl Clone for Action[src]

impl Debug for Action[src]

impl Default for Action[src]

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

impl Message for Action[src]

impl PartialEq<Action> for Action[src]

impl ProtobufValue for Action[src]

impl StructuralPartialEq for Action[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.