[][src]Struct newt::widgets::Checkbox

pub struct Checkbox { /* fields omitted */ }

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]

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]

impl Drop for Checkbox[src]

impl PartialEq<Box<dyn Component + 'static>> for Checkbox[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WidgetFns for T where
    T: Grid, 
[src]