xwt-anchor 0.5.0

Anchor types for xwt. Useful to overcome foreign type implementation limitations.
Documentation
//! Macros for this crate.

/// Invoke a macro with a comma-separated list of all material types.
#[macro_export]
macro_rules! for_all_material_types {
    (
        $macro:ident
    ) => {
        $macro![
            Endpoint<T>,
            Connecting<T>,
            Accepting<T>,
            Session<T>,
            Request<T>,
            OpeningBiStream<T>,
            OpeningUniStream<T>,
            SendStream<T>,
            RecvStream<T>,
            Datagram<T>,
        ];
    };
}