pub struct WinEntry { /* private fields */ }
Expand description
A struct used to pass initial Entry
information to the
win_entries()
function.
Implementations
sourceimpl WinEntry
impl WinEntry
sourcepub fn new(text: &str, value: &str, flags: i32) -> WinEntry
pub fn new(text: &str, value: &str, flags: i32) -> WinEntry
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
.
sourcepub fn value(&self) -> &str
pub fn value(&self) -> &str
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more