Trait Read

Source
pub unsafe trait Read: Read { }
Expand description

This trait is empty declaration of ::std::io::Read to be used with newer_type::implement.

§Example

#[implement(newer_type_std::io::Read)]
struct MyStruct {
    slot: std::io::Cursor<Vec<u8>>
}

§Safety

should be implemented by newer_type::implement

Implementors§