[−][src]Struct newt::widgets::Checkbox
A Checkbox widget.
Implementations
impl Checkbox
[src]
pub fn new(
left: i32,
top: i32,
text: &str,
def_value: Option<char>,
seq: Option<&[char]>
) -> Checkbox
[src]
left: i32,
top: i32,
text: &str,
def_value: Option<char>,
seq: Option<&[char]>
) -> Checkbox
pub fn get_value(&self) -> char
[src]
pub fn set_value(&self, value: char)
[src]
pub fn set_flags(&self, flags: i32, sense: FlagsSense)
[src]
Trait Implementations
impl Component for Checkbox
[src]
fn co(&self) -> newtComponent
[src]
impl Drop for Checkbox
[src]
impl PartialEq<Box<dyn Component + 'static>> for Checkbox
[src]
fn eq(&self, other: &Box<dyn Component>) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<ExitReason> for Checkbox
[src]
impl<Rhs: Component> PartialEq<Rhs> for Checkbox
[src]
impl WidgetFns for Checkbox
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Checkbox
impl !Send for Checkbox
impl !Sync for Checkbox
impl Unpin for Checkbox
impl UnwindSafe for Checkbox
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> WidgetFns for T where
T: Grid,
[src]
T: Grid,