[−][src]Struct mergui::core::text_button::TextButton
Fields
channel: Channel
Trait Implementations
impl Widget for TextButton
[src]
fn contains(&self, _: Vector) -> bool
[src]
fn is_focusable(&self, _: Vector) -> bool
[src]
fn render(&mut self, gfx: &mut Graphics, _: &Window) -> Result<()>
[src]
fn on_click(&mut self, _location: Vector)
[src]
fn get_cursor_on_hover(&self, _: Vector) -> CursorIcon
[src]
fn set_focus(&mut self, _: Vector, _: bool)
[src]
fn set_hover(&mut self, _: Vector, _: bool)
[src]
fn on_key_press(&mut self, _key: Key, _state: bool)
[src]
fn on_typed(&mut self, _char: char)
[src]
impl WidgetConfig<BasicClickable, TextButton> for TextButtonConfig
[src]
Auto Trait Implementations
impl !RefUnwindSafe for TextButton
impl !Send for TextButton
impl !Sync for TextButton
impl Unpin for TextButton
impl !UnwindSafe for TextButton
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>,