pub struct SpawnAssessment {
pub index: usize,
pub distance_squared: Option<f32>,
pub outcome: SpawnOutcome,
}Expand description
Read-only diagnostic stored at the original source index in caller output. Indices identify this input slice only; reordering candidates changes identity.
Fields§
§index: usize§distance_squared: Option<f32>None only for invalid candidate geometry; otherwise uses legacy f32
squared-distance arithmetic in caller-defined logical world units.
outcome: SpawnOutcomeImplementations§
Source§impl SpawnAssessment
impl SpawnAssessment
Sourcepub const EMPTY: SpawnAssessment
pub const EMPTY: SpawnAssessment
Storage initializer, not an assessed candidate. Only the first input length entries are meaningful after a successful checked call.
Trait Implementations§
Source§impl Clone for SpawnAssessment
impl Clone for SpawnAssessment
Source§fn clone(&self) -> SpawnAssessment
fn clone(&self) -> SpawnAssessment
Returns a duplicate of the value. Read more
1.0.0 · 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 SpawnAssessment
impl Debug for SpawnAssessment
Source§impl PartialEq for SpawnAssessment
impl PartialEq for SpawnAssessment
impl Copy for SpawnAssessment
impl StructuralPartialEq for SpawnAssessment
Auto Trait Implementations§
impl Freeze for SpawnAssessment
impl RefUnwindSafe for SpawnAssessment
impl Send for SpawnAssessment
impl Sync for SpawnAssessment
impl Unpin for SpawnAssessment
impl UnwindSafe for SpawnAssessment
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