Trait BufRead

Source
pub unsafe trait BufRead: Read + BufRead { }
Expand description

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

§Example

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

§Safety

should be implemented by newer_type::implement

Implementors§