Trait IntoIterator

Source
pub unsafe trait IntoIterator: IntoIterator { }
Expand description

This trait is empty declaration of ::core::iter::IntoIterator to be used with newer_type::implement.

§Example

#[implement(newer_type_std::iter::IntoIterator)]
struct MyStruct {
    slot: Vec<u8>
}

§Safety

should be implemented by newer_type::implement

Implementors§