[][src]Struct newt::components::CompactButton

pub struct CompactButton { /* fields omitted */ }

Methods

impl CompactButton[src]

pub fn new(left: i32, top: i32, text: &str) -> CompactButton[src]

Trait Implementations

impl Component for CompactButton[src]

fn takes_focus(&mut self, value: bool)[src]

fn get_position(&self) -> (i32, i32)[src]

fn get_size(&self) -> (i32, i32)[src]

impl<Rhs: Component> PartialEq<Rhs> for CompactButton[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl PartialEq<Box<dyn Component + 'static>> for CompactButton[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl PartialEq<ExitReason> for CompactButton[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Drop for CompactButton[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

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

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

The type returned in the event of a conversion error.