Struct prototty_common::MenuEntry
[−]
[src]
pub struct MenuEntry<T: Copy> { pub name: String, pub value: T, }
A single entry in a menu. It owns the value which will be yielded if this entry is finalised.
Fields
name: String
value: T
Trait Implementations
impl<T: Debug + Copy> Debug for MenuEntry<T>
[src]
impl<T: Clone + Copy> Clone for MenuEntry<T>
[src]
fn clone(&self) -> MenuEntry<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more