pub struct SpawnEntry {
pub template: Option<String>,
pub lo: f32,
pub hi: f32,
}Expand description
One SpawnDescription entry: a template spawned while the parent’s growth is in [lo, hi].
Fields§
§template: Option<String>The template spawned.
lo: f32The lowest growth of the parent.
hi: f32The highest growth of the parent.
Trait Implementations§
Source§impl Clone for SpawnEntry
impl Clone for SpawnEntry
Source§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 moreAuto 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