Struct sc2_proto::ui::ProductionPanel[][src]

pub struct ProductionPanel {
    pub unit: SingularPtrField<UnitInfo>,
    pub build_queue: RepeatedField<UnitInfo>,
    pub production_queue: RepeatedField<BuildItem>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

unit: SingularPtrField<UnitInfo>build_queue: RepeatedField<UnitInfo>production_queue: RepeatedField<BuildItem>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ProductionPanel[src]

pub fn new() -> ProductionPanel[src]

pub fn get_unit(&self) -> &UnitInfo[src]

pub fn clear_unit(&mut self)[src]

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

pub fn set_unit(&mut self, v: UnitInfo)[src]

pub fn mut_unit(&mut self) -> &mut UnitInfo[src]

pub fn take_unit(&mut self) -> UnitInfo[src]

pub fn get_build_queue(&self) -> &[UnitInfo][src]

pub fn clear_build_queue(&mut self)[src]

pub fn set_build_queue(&mut self, v: RepeatedField<UnitInfo>)[src]

pub fn mut_build_queue(&mut self) -> &mut RepeatedField<UnitInfo>[src]

pub fn take_build_queue(&mut self) -> RepeatedField<UnitInfo>[src]

pub fn get_production_queue(&self) -> &[BuildItem][src]

pub fn clear_production_queue(&mut self)[src]

pub fn set_production_queue(&mut self, v: RepeatedField<BuildItem>)[src]

pub fn mut_production_queue(&mut self) -> &mut RepeatedField<BuildItem>[src]

pub fn take_production_queue(&mut self) -> RepeatedField<BuildItem>[src]

Trait Implementations

impl Clear for ProductionPanel[src]

impl Clone for ProductionPanel[src]

impl Debug for ProductionPanel[src]

impl Default for ProductionPanel[src]

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

impl Message for ProductionPanel[src]

impl PartialEq<ProductionPanel> for ProductionPanel[src]

impl ProtobufValue for ProductionPanel[src]

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