Struct argmin::solver::particleswarm::Particle [−][src]
pub struct Particle<T, F> { pub position: T, pub cost: F, // some fields omitted }
A single particle
Fields
position: T
Position of particle
cost: F
Cost of particle
Trait Implementations
impl<'de, T, F> Deserialize<'de> for Particle<T, F> where
T: Deserialize<'de>,
F: Deserialize<'de>,
[src]
impl<'de, T, F> Deserialize<'de> for Particle<T, F> where
T: Deserialize<'de>,
F: Deserialize<'de>,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl<T, F> RefUnwindSafe for Particle<T, F> where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, F> RefUnwindSafe for Particle<T, F> where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, F> UnwindSafe for Particle<T, F> where
F: UnwindSafe,
T: UnwindSafe,
impl<T, F> UnwindSafe for Particle<T, F> where
F: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,