Trait il2_iltags::io::data::ValueWriter [−][src]
pub trait ValueWriter<T> {
fn write_value(&mut self, value: T) -> Result<()>;
}
Expand description
This trait adds the ability to write fixed size values.
Required methods
fn write_value(&mut self, value: T) -> Result<()>
fn write_value(&mut self, value: T) -> Result<()>
Writes the value.
Arguments:
value
: The value to write;
Returns:
- Ok(()): For success;
- Err(_): For failure;
Trait Implementations
Serializes a value. Read more