[−][src]Trait competitive_hpp::prelude::source::Readable
A trait representing which type can be read from Source
.
If you want to read your own type using input!
, you can implement this trait for your type.
Alternatively, you can add #[derive_readable]
if you put use proconio_derive::derive_readable
in your source. It automatically implements Readable
if
all members of your type are Readable
.
Associated Types
type Output
Required methods
Loading content...Implementors
impl Readable for Bytes
[src]
impl Readable for Chars
[src]
type Output = Vec<char>
fn read<R, S>(source: &mut S) -> Vec<char> where
R: BufRead,
S: Source<R>,
[src]
R: BufRead,
S: Source<R>,
impl Readable for Isize1
[src]
impl Readable for Usize1
[src]
impl<T> Readable for T where
T: FromStr,
<T as FromStr>::Err: Debug,
[src]
T: FromStr,
<T as FromStr>::Err: Debug,