☰
ExpectOne
Required Methods
expect_one
Implementations on Foreign Types
SmallVec<A>
Implementors
In rustc_ast::mut_visit
?
Trait
rustc_ast
::
mut_visit
::
ExpectOne
source
·
[
−
]
pub trait ExpectOne<A:
Array
> { 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