Struct SpawnEntry
pub struct SpawnEntry {
pub entity: String,
pub weight: u32,
pub min: u32,
pub max: u32,
pub constant: bool,
}Fields§
§entity: String§weight: u32§min: u32§max: u32§constant: boolA ConstantInt count (sampling draws nothing).
Trait Implementations§
§impl Clone for SpawnEntry
impl Clone for SpawnEntry
§fn clone(&self) -> SpawnEntry
fn clone(&self) -> SpawnEntry
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 more§impl Debug for SpawnEntry
impl Debug for SpawnEntry
impl Eq for SpawnEntry
§impl PartialEq for SpawnEntry
impl PartialEq for SpawnEntry
impl StructuralPartialEq for SpawnEntry
Auto Trait Implementations§
impl Freeze for SpawnEntry
impl RefUnwindSafe for SpawnEntry
impl Send for SpawnEntry
impl Sync for SpawnEntry
impl Unpin for SpawnEntry
impl UnsafeUnpin for SpawnEntry
impl UnwindSafe for SpawnEntry
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