#[repr(u8)]pub enum BuildQueueType {
Research = 0,
Unit = 1,
Reviving = 2,
}Expand description
What kind of work a build queue entry represents.
Variants§
Research = 0
An upgrade or technology being researched.
Unit = 1
A unit being trained.
Reviving = 2
A hero being revived.
Trait Implementations§
Source§impl Clone for BuildQueueType
impl Clone for BuildQueueType
Source§fn clone(&self) -> BuildQueueType
fn clone(&self) -> BuildQueueType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuildQueueType
impl Debug for BuildQueueType
Source§impl Hash for BuildQueueType
impl Hash for BuildQueueType
Source§impl PartialEq for BuildQueueType
impl PartialEq for BuildQueueType
Source§fn eq(&self, other: &BuildQueueType) -> bool
fn eq(&self, other: &BuildQueueType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BuildQueueType
impl Eq for BuildQueueType
impl StructuralPartialEq for BuildQueueType
Auto Trait Implementations§
impl Freeze for BuildQueueType
impl RefUnwindSafe for BuildQueueType
impl Send for BuildQueueType
impl Sync for BuildQueueType
impl Unpin for BuildQueueType
impl UnsafeUnpin for BuildQueueType
impl UnwindSafe for BuildQueueType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more