Enum sc2::DisplayType
[−]
[src]
pub enum DisplayType { Visible, Snapshot, Hidden, }
whether the unit is shown on screen or not
Variants
Visible
unit will be visible
Snapshot
unit is represented by a snapshot in fog-of-war
the actual unit may be in a different location or state
Hidden
unit will be hidden to enemies
Trait Implementations
impl Debug for DisplayType
[src]
impl PartialEq for DisplayType
[src]
fn eq(&self, __arg_0: &DisplayType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Copy for DisplayType
[src]
impl Clone for DisplayType
[src]
fn clone(&self) -> DisplayType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<DisplayType> for DisplayType
[src]
fn from(display: DisplayType) -> Self
[src]
Performs the conversion.