Struct sc2_proto::raw::MapState[][src]

pub struct MapState {
    pub visibility: SingularPtrField<ImageData>,
    pub creep: SingularPtrField<ImageData>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

visibility: SingularPtrField<ImageData>creep: SingularPtrField<ImageData>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl MapState[src]

pub fn new() -> MapState[src]

pub fn get_visibility(&self) -> &ImageData[src]

pub fn clear_visibility(&mut self)[src]

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

pub fn set_visibility(&mut self, v: ImageData)[src]

pub fn mut_visibility(&mut self) -> &mut ImageData[src]

pub fn take_visibility(&mut self) -> ImageData[src]

pub fn get_creep(&self) -> &ImageData[src]

pub fn clear_creep(&mut self)[src]

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

pub fn set_creep(&mut self, v: ImageData)[src]

pub fn mut_creep(&mut self) -> &mut ImageData[src]

pub fn take_creep(&mut self) -> ImageData[src]

Trait Implementations

impl Clear for MapState[src]

impl Clone for MapState[src]

impl Debug for MapState[src]

impl Default for MapState[src]

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

impl Message for MapState[src]

impl PartialEq<MapState> for MapState[src]

impl ProtobufValue for MapState[src]

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