Trait frame_support::weights::OneOrMany [−][src]
A trait that represents one or many values of given type.
Useful to accept as parameter type to let the caller pass either a single value directly or an iterator.
Associated Types
Loading content...Required methods
Loading content...Implementations on Foreign Types
impl<'a> OneOrMany<DispatchClass> for &'a [DispatchClass]
[src]
impl<'a> OneOrMany<DispatchClass> for &'a [DispatchClass]
[src]Implementors
impl OneOrMany<DispatchClass> for DispatchClass
[src]
impl OneOrMany<DispatchClass> for DispatchClass
[src]