Trait il2_iltags::io::data::ValueReader [−][src]
pub trait ValueReader<T: Sized + Copy> { fn read_value(&mut self) -> Result<T>; }
Expand description
This trait adds the ability to read fixed size values.
Since 1.1.0.
Required methods
fn read_value(&mut self) -> Result<T>
fn read_value(&mut self) -> Result<T>
Reads the value.
Returns:
- Ok(v): For success;
- Err(_): For failure;