Trait oxyroot::Unmarshaler
source · pub trait Unmarshaler {
// Required method
fn unmarshal(&mut self, r: &mut RBuffer<'_>) -> Result<(), Error>;
// Provided method
fn class_name() -> Option<Vec<String>>
where Self: Sized { ... }
}Expand description
Trait that permits reading a type from an ROOT file.
Examples of types that implement this:
- Primitive integers, floats, etc
- Owned byte containers (
Vec<T>,HashMap<K,V>, HashSet)