pub enum SpawnExclusion {
InvalidGeometry,
TooClose,
Unavailable,
Authored,
Obstructed,
}Expand description
First exclusion in the checked pipeline; later queries are skipped.
See the module’s admission recipe and SpawnSelector::assess_into.
Variants§
InvalidGeometry
Nonfinite coordinate or an absolute component greater than 1e6.
TooClose
Squared distance is strictly below the configured minimum squared.
The availability query returned false (e.g. an unavailable authored slot).
Authored
The score callback returned None under the host’s authored policy.
Obstructed
The final clearance/line-of-sight query returned false.
Trait Implementations§
Source§impl Clone for SpawnExclusion
impl Clone for SpawnExclusion
Source§fn clone(&self) -> SpawnExclusion
fn clone(&self) -> SpawnExclusion
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 SpawnExclusion
impl Debug for SpawnExclusion
Source§impl PartialEq for SpawnExclusion
impl PartialEq for SpawnExclusion
impl Copy for SpawnExclusion
impl Eq for SpawnExclusion
impl StructuralPartialEq for SpawnExclusion
Auto Trait Implementations§
impl Freeze for SpawnExclusion
impl RefUnwindSafe for SpawnExclusion
impl Send for SpawnExclusion
impl Sync for SpawnExclusion
impl Unpin for SpawnExclusion
impl UnwindSafe for SpawnExclusion
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