Trait rustc_ap_rustc_ast::mut_visit::ExpectOne[][src]

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

Required methods

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

Implementations on Foreign Types

impl<A: Array> ExpectOne<A> for SmallVec<A>[src]

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

Implementors