[][src]Struct munkres::weight_matrix::WeightMatrix

pub struct WeightMatrix<T: WeightNum> { /* fields omitted */ }

Implementations

impl<T: WeightNum> WeightMatrix<T>[src]

pub fn from_row_vec(n: usize, data: Vec<T>) -> WeightMatrix<T>[src]

pub fn from_fn<F: Fn((usize, usize)) -> T>(n: usize, f: F) -> WeightMatrix<T>[src]

pub fn as_slice(&self) -> &[T][src]

Trait Implementations

impl<T: Debug + WeightNum> Debug for WeightMatrix<T>[src]

impl<T: WeightNum> Weights for WeightMatrix<T>[src]

type T = T

Auto Trait Implementations

impl<T> RefUnwindSafe for WeightMatrix<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for WeightMatrix<T> where
    T: Send
[src]

impl<T> Sync for WeightMatrix<T> where
    T: Sync
[src]

impl<T> Unpin for WeightMatrix<T>[src]

impl<T> UnwindSafe for WeightMatrix<T> where
    T: RefUnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.