Struct sc2_proto::sc2api::ObserverAction[][src]

pub struct ObserverAction {
    pub action: Option<ObserverAction_oneof_action>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

action: Option<ObserverAction_oneof_action>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ObserverAction[src]

pub fn new() -> ObserverAction[src]

pub fn get_player_perspective(&self) -> &ActionObserverPlayerPerspective[src]

pub fn clear_player_perspective(&mut self)[src]

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

pub fn set_player_perspective(&mut self, v: ActionObserverPlayerPerspective)[src]

pub fn mut_player_perspective(&mut self) -> &mut ActionObserverPlayerPerspective[src]

pub fn take_player_perspective(&mut self) -> ActionObserverPlayerPerspective[src]

pub fn get_camera_move(&self) -> &ActionObserverCameraMove[src]

pub fn clear_camera_move(&mut self)[src]

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

pub fn set_camera_move(&mut self, v: ActionObserverCameraMove)[src]

pub fn mut_camera_move(&mut self) -> &mut ActionObserverCameraMove[src]

pub fn take_camera_move(&mut self) -> ActionObserverCameraMove[src]

pub fn get_camera_follow_player(&self) -> &ActionObserverCameraFollowPlayer[src]

pub fn clear_camera_follow_player(&mut self)[src]

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

pub fn set_camera_follow_player(&mut self, v: ActionObserverCameraFollowPlayer)[src]

pub fn mut_camera_follow_player(
    &mut self
) -> &mut ActionObserverCameraFollowPlayer
[src]

pub fn take_camera_follow_player(&mut self) -> ActionObserverCameraFollowPlayer[src]

pub fn get_camera_follow_units(&self) -> &ActionObserverCameraFollowUnits[src]

pub fn clear_camera_follow_units(&mut self)[src]

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

pub fn set_camera_follow_units(&mut self, v: ActionObserverCameraFollowUnits)[src]

pub fn mut_camera_follow_units(
    &mut self
) -> &mut ActionObserverCameraFollowUnits
[src]

pub fn take_camera_follow_units(&mut self) -> ActionObserverCameraFollowUnits[src]

Trait Implementations

impl Clear for ObserverAction[src]

impl Clone for ObserverAction[src]

impl Debug for ObserverAction[src]

impl Default for ObserverAction[src]

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

impl Message for ObserverAction[src]

impl PartialEq<ObserverAction> for ObserverAction[src]

impl ProtobufValue for ObserverAction[src]

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