Enum sc2::data::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 Debug for DisplayType
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DisplayType
[src]
impl PartialEq for DisplayType
fn eq(&self, __arg_0: &DisplayType) -> bool
[src]
fn eq(&self, __arg_0: &DisplayType) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Copy for DisplayType
[src]
impl Copy for DisplayType
impl Clone for DisplayType
[src]
impl Clone for DisplayType
fn clone(&self) -> DisplayType
[src]
fn clone(&self) -> DisplayType
Returns 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 DisplayType
Auto Trait Implementations
impl Send for DisplayType
impl Send for DisplayType
impl Sync for DisplayType
impl Sync for DisplayType