pub trait AsRust<T> {
// Required method
fn as_rust(&self) -> Result<T, AsRustError>;
}Expand description
Trait showing that the struct implementing it is a repr(C) compatible view of the parametrized
type and that an instance of the parametrized type can be created form this struct