[−][src]Struct prototty_common::DefaultMenuInstanceView
Default view of a MenuInstance
.
Methods
impl DefaultMenuInstanceView
[src]
Trait Implementations
impl MenuIndexFromScreenCoord for DefaultMenuInstanceView
[src]
fn menu_index_from_screen_coord<'a, T: Copy>(
&self,
menu: &'a Menu<T>,
coord: Coord
) -> Option<usize>
[src]
&self,
menu: &'a Menu<T>,
coord: Coord
) -> Option<usize>
impl<T: Copy> View<MenuInstance<T>> for DefaultMenuInstanceView
[src]
fn view<G: ViewGrid>(
&mut self,
value: &MenuInstance<T>,
offset: Coord,
depth: i32,
grid: &mut G
)
[src]
&mut self,
value: &MenuInstance<T>,
offset: Coord,
depth: i32,
grid: &mut G
)
impl<T: Copy> ViewSize<MenuInstance<T>> for DefaultMenuInstanceView
[src]
fn size(&mut self, data: &MenuInstance<T>) -> Size
[src]
Auto Trait Implementations
impl Send for DefaultMenuInstanceView
impl Sync for DefaultMenuInstanceView
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 = !
🔬 This is a nightly-only experimental API. (
try_from
)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, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,