Trait rustc_ast::mut_visit::ExpectOne

source ·
pub trait ExpectOne<A: Array> {
    // Required method
    fn expect_one(self, err: &'static str) -> A::Item;
}

Required Methods§

source

fn expect_one(self, err: &'static str) -> A::Item

Implementations on Foreign Types§

source§

impl<A: Array> ExpectOne<A> for SmallVec<A>

source§

fn expect_one(self, err: &'static str) -> A::Item

Implementors§