[−][src]Macro cursive::inner_getters
Convenient macro to implement the getters for inner View
in
ViewWrapper
.
It defines the get_inner
and get_inner_mut
implementations.
Examples
struct FooView<T: View> { view: T, } impl<T: View> FooView<T> { cursive::inner_getters!(self.view: T); } impl <T: View> ViewWrapper for FooView<T> { cursive::wrap_impl!(self.view: T); }