Struct sc2_proto::debug::DebugCreateUnit[][src]

pub struct DebugCreateUnit {
    pub unit_type: Option<u32>,
    pub owner: Option<i32>,
    pub pos: SingularPtrField<Point2D>,
    pub quantity: Option<u32>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

unit_type: Option<u32>owner: Option<i32>pos: SingularPtrField<Point2D>quantity: Option<u32>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl DebugCreateUnit[src]

pub fn new() -> DebugCreateUnit[src]

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

pub fn clear_unit_type(&mut self)[src]

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

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

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

pub fn clear_owner(&mut self)[src]

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

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

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

pub fn clear_pos(&mut self)[src]

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

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

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

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

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

pub fn clear_quantity(&mut self)[src]

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

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

Trait Implementations

impl Clear for DebugCreateUnit[src]

impl Clone for DebugCreateUnit[src]

impl Debug for DebugCreateUnit[src]

impl Default for DebugCreateUnit[src]

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

impl Message for DebugCreateUnit[src]

impl PartialEq<DebugCreateUnit> for DebugCreateUnit[src]

impl ProtobufValue for DebugCreateUnit[src]

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