[−][src]Struct exchange_rate::exchange_rate::ExchangeRatePath
ExchangeRatePath
structure.
ExchangeRatePath<I>
is parameterized over:
- Index
I
for indexing of nodesN
.
Methods
impl<I: BufRead> ExchangeRatePath<I>
[src]
pub fn new(input: I) -> Self
[src]
Create a new instance of ExchangeRatePath structure.
Examples
use exchange_rate::ExchangeRatePath; ExchangeRatePath::new(std::io::stdin().lock());
pub fn run<N, E>(&mut self) where
N: Clone + Display + FromStr + IndexMapTrait + Debug,
<N as FromStr>::Err: Debug,
E: Display + FloydWarshallTrait + FromStr + Debug,
<E as FromStr>::Err: Debug,
[src]
N: Clone + Display + FromStr + IndexMapTrait + Debug,
<N as FromStr>::Err: Debug,
E: Display + FloydWarshallTrait + FromStr + Debug,
<E as FromStr>::Err: Debug,
Run the Exchange Rate Path application.
Auto Trait Implementations
impl<I> Send for ExchangeRatePath<I> where
I: Send,
I: Send,
impl<I> Sync for ExchangeRatePath<I> where
I: Sync,
I: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,