Enum sc2::DisplayType [] [src]

pub enum DisplayType {
    Visible,
    Snapshot,
    Hidden,
}

whether the unit is shown on screen or not

Variants

unit will be visible

unit is represented by a snapshot in fog-of-war

the actual unit may be in a different location or state

unit will be hidden to enemies

Trait Implementations

impl Debug for DisplayType
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for DisplayType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Copy for DisplayType
[src]

impl Clone for DisplayType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<DisplayType> for DisplayType
[src]

[src]

Performs the conversion.