[−][src]Struct prototty_menu::StyleDistinguishedMenuEntryView
Fields
normal: StringViewSingleLine
selected: StringViewSingleLine
Methods
impl StyleDistinguishedMenuEntryView
[src]
pub fn new(normal: StringViewSingleLine, selected: StringViewSingleLine) -> Self
[src]
Trait Implementations
impl<T> MenuEntryView<T> for StyleDistinguishedMenuEntryView where
&'a T: Into<String>,
[src]
&'a T: Into<String>,
fn normal<G: ViewGrid, R: ViewTransformRgb24>(
&mut self,
entry: &T,
context: ViewContext<R>,
grid: &mut G
) -> Size
[src]
&mut self,
entry: &T,
context: ViewContext<R>,
grid: &mut G
) -> Size
fn selected<G: ViewGrid, R: ViewTransformRgb24>(
&mut self,
entry: &T,
context: ViewContext<R>,
grid: &mut G
) -> Size
[src]
&mut self,
entry: &T,
context: ViewContext<R>,
grid: &mut G
) -> Size
impl Default for StyleDistinguishedMenuEntryView
[src]
Auto Trait Implementations
impl Send for StyleDistinguishedMenuEntryView
impl Sync for StyleDistinguishedMenuEntryView
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,