Macro wgpu_core::lock::rank::define_lock_ranks

source ·
macro_rules! define_lock_ranks {
    {
        $(
            $( #[ $attr:meta ] )*
            rank $name:ident $member:literal followed by { $( $follower:ident ),* $(,)? }
        )*
    } => { ... };
}
Expand description

Define a set of lock ranks, and each rank’s permitted successors.