Enum rust_sc2::unit::DisplayType [−][src]
pub enum DisplayType {
Visible,
Snapshot,
Hidden,
Placeholder,
}The display type of Unit.
Can be accessed through display_type field.
Variants
Fully visible.
Dimmed version of unit left behind after entering fog of war.
Fully hidden.
Building that hasn’t started construction.
Implementations
impl DisplayType[src]
impl DisplayType[src]pub fn is_visible(self) -> bool[src]
pub fn is_snapshot(self) -> bool[src]
pub fn is_hidden(self) -> bool[src]
pub fn is_placeholder(self) -> bool[src]
Trait Implementations
impl Clone for DisplayType[src]
impl Clone for DisplayType[src]fn clone(&self) -> DisplayType[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for DisplayType[src]
impl Copy for DisplayType[src]impl Eq for DisplayType[src]
impl Eq for DisplayType[src]impl PartialEq<DisplayType> for DisplayType[src]
impl PartialEq<DisplayType> for DisplayType[src]impl StructuralEq for DisplayType[src]
impl StructuralEq for DisplayType[src]impl StructuralPartialEq for DisplayType[src]
impl StructuralPartialEq for DisplayType[src]Auto Trait Implementations
impl RefUnwindSafe for DisplayType
impl RefUnwindSafe for DisplayTypeimpl Send for DisplayType
impl Send for DisplayTypeimpl Sync for DisplayType
impl Sync for DisplayTypeimpl Unpin for DisplayType
impl Unpin for DisplayTypeimpl UnwindSafe for DisplayType
impl UnwindSafe for DisplayTypeBlanket Implementations
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,