[−][src]Struct mop_blocks::objs::MinWeightedSum
Implementations
impl<OI, WI> MinWeightedSum<OI, WI>
[src]
impl<'a, O, WI> MinWeightedSum<Iter<'a, O>, WI>
[src]
pub fn from_gp<D, HCRS, HCS, ORS, OS, SCRS, SCS, SS>(
mp: &'a Gp<D, HCRS, HCS, ORS, OS, SCRS, SCS, SS>,
weights: WI
) -> Self where
OS: AsRef<[O]> + Storage<Item = O>,
[src]
mp: &'a Gp<D, HCRS, HCS, ORS, OS, SCRS, SCS, SS>,
weights: WI
) -> Self where
OS: AsRef<[O]> + Storage<Item = O>,
Trait Implementations
impl<OI: Debug, WI: Debug> Debug for MinWeightedSum<OI, WI>
[src]
impl<'a, O, OR, OI, S, WI> From<&'a MinWeightedSum<OI, WI>> for &'a dyn Obj<OR, S> where
O: Obj<OR, S>,
OR: Add<Output = OR> + Div<Output = OR> + One + Sum,
OI: Clone + Iterator<Item = O> + TraitCfg,
WI: Clone + Iterator<Item = OR> + TraitCfg,
[src]
O: Obj<OR, S>,
OR: Add<Output = OR> + Div<Output = OR> + One + Sum,
OI: Clone + Iterator<Item = O> + TraitCfg,
WI: Clone + Iterator<Item = OR> + TraitCfg,
fn from(f: &'a MinWeightedSum<OI, WI>) -> Self
[src]
impl<O, OR, OI, S, WI> Obj<OR, S> for MinWeightedSum<OI, WI> where
O: Obj<OR, S>,
OR: Add<Output = OR> + Div<Output = OR> + One + Sum,
OI: Clone + Iterator<Item = O> + TraitCfg,
WI: Clone + Iterator<Item = OR> + TraitCfg,
[src]
O: Obj<OR, S>,
OR: Add<Output = OR> + Div<Output = OR> + One + Sum,
OI: Clone + Iterator<Item = O> + TraitCfg,
WI: Clone + Iterator<Item = OR> + TraitCfg,
fn obj_direction(&self) -> ObjDirection
[src]
fn result(&self, s: &S) -> OR
[src]
Auto Trait Implementations
impl<OI, WI> Send for MinWeightedSum<OI, WI> where
OI: Send,
WI: Send,
OI: Send,
WI: Send,
impl<OI, WI> Sync for MinWeightedSum<OI, WI> where
OI: Sync,
WI: Sync,
OI: Sync,
WI: Sync,
impl<OI, WI> Unpin for MinWeightedSum<OI, WI> where
OI: Unpin,
WI: Unpin,
OI: Unpin,
WI: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> TraitCfg for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,