Struct sc2_proto::ui::BuildItem[][src]

pub struct BuildItem {
    pub ability_id: Option<u32>,
    pub build_progress: Option<f32>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

ability_id: Option<u32>build_progress: Option<f32>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl BuildItem[src]

pub fn new() -> BuildItem[src]

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

pub fn clear_ability_id(&mut self)[src]

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

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

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

pub fn clear_build_progress(&mut self)[src]

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

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

Trait Implementations

impl Clear for BuildItem[src]

impl Clone for BuildItem[src]

impl Debug for BuildItem[src]

impl Default for BuildItem[src]

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

impl Message for BuildItem[src]

impl PartialEq<BuildItem> for BuildItem[src]

impl ProtobufValue for BuildItem[src]

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