[−][src]Struct newt::windows::WinEntry
A struct used to pass initial Entry
information to the
win_entries()
function.
Implementations
impl WinEntry
[src]
pub fn new(text: &str, value: &str, flags: i32) -> WinEntry
[src]
Create a new WinEntry
.
text
- The text to display as the entry field label.value
- The initial value of theEntry
field.flags
- The settings flags for theEntry
.
pub fn value(&self) -> &str
[src]
Returns the value of the corresponding Entry
. This is either
the inital value
set when the WinEntry
is created, or the user
entered data provided by the win_entries()
function
if that has been run.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WinEntry
impl Send for WinEntry
impl Sync for WinEntry
impl Unpin for WinEntry
impl UnwindSafe for WinEntry
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,