#[repr(C, packed(1))]pub struct BuildQueueInfo {
pub id: u32,
pub name: PaddedString<MAX_NAME_LENGTH>,
pub training_progress: u32,
pub build_type: BuildQueueType,
pub button_art: PaddedString<MAX_BUTTON_ART_LENGTH>,
}Expand description
State for a single entry in a player’s build queue.
Fields§
§id: u32Game-internal ID of the thing being trained, researched, or revived.
name: PaddedString<MAX_NAME_LENGTH>Display name.
training_progress: u32Progress towards completion (game-defined units).
build_type: BuildQueueTypeWhether this entry is a unit, an upgrade, or a hero revival.
Path to the queue entry’s button icon.
Auto Trait Implementations§
impl Freeze for BuildQueueInfo
impl RefUnwindSafe for BuildQueueInfo
impl Send for BuildQueueInfo
impl Sync for BuildQueueInfo
impl Unpin for BuildQueueInfo
impl UnsafeUnpin for BuildQueueInfo
impl UnwindSafe for BuildQueueInfo
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