pub trait MenuEntryView<T> {
// Required methods
fn normal<F: Frame, C: ColModify>(
&mut self,
entry: &T,
context: ViewContext<C>,
frame: &mut F,
) -> MenuEntryViewInfo;
fn selected<F: Frame, C: ColModify>(
&mut self,
entry: &T,
context: ViewContext<C>,
frame: &mut F,
) -> MenuEntryViewInfo;
}
Required Methods§
fn normal<F: Frame, C: ColModify>( &mut self, entry: &T, context: ViewContext<C>, frame: &mut F, ) -> MenuEntryViewInfo
fn selected<F: Frame, C: ColModify>( &mut self, entry: &T, context: ViewContext<C>, frame: &mut F, ) -> MenuEntryViewInfo
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.