Enum sc2::data::DisplayType [−][src]
pub enum DisplayType {
Visible,
Snapshot,
Hidden,
}Whether the unit is shown on screen or not.
Variants
VisibleUnit will be visible.
SnapshotUnit is represented by a snapshot in fog-of-war.
The actual unit may be in a different location or state.
HiddenUnit will be hidden to enemies.
Trait Implementations
impl Debug for DisplayType[src]
impl Debug for DisplayTypefn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for DisplayType[src]
impl PartialEq for DisplayTypefn eq(&self, __arg_0: &DisplayType) -> bool[src]
fn eq(&self, __arg_0: &DisplayType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Copy for DisplayType[src]
impl Copy for DisplayTypeimpl Clone for DisplayType[src]
impl Clone for DisplayTypefn clone(&self) -> DisplayType[src]
fn clone(&self) -> DisplayTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl From<DisplayType> for DisplayType[src]
impl From<DisplayType> for DisplayTypeAuto Trait Implementations
impl Send for DisplayType
impl Send for DisplayTypeimpl Sync for DisplayType
impl Sync for DisplayType