Struct sc2_proto::sc2api::ActionObserverCameraMove[][src]

pub struct ActionObserverCameraMove {
    pub world_pos: SingularPtrField<Point2D>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

world_pos: SingularPtrField<Point2D>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ActionObserverCameraMove[src]

pub fn new() -> ActionObserverCameraMove[src]

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

pub fn clear_world_pos(&mut self)[src]

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

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

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

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

pub fn get_distance(&self) -> f32[src]

pub fn clear_distance(&mut self)[src]

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

pub fn set_distance(&mut self, v: f32)[src]

Trait Implementations

impl Clear for ActionObserverCameraMove[src]

impl Clone for ActionObserverCameraMove[src]

impl Debug for ActionObserverCameraMove[src]

impl Default for ActionObserverCameraMove[src]

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

impl Message for ActionObserverCameraMove[src]

impl PartialEq<ActionObserverCameraMove> for ActionObserverCameraMove[src]

impl ProtobufValue for ActionObserverCameraMove[src]

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