Struct tui_components::components::Checkbox
source · [−]pub struct Checkbox {
pub value: bool,
}Fields
value: boolImplementations
Trait Implementations
sourceimpl Component for Checkbox
impl Component for Checkbox
type Response = CheckboxResponse
type DrawResponse = ()
fn handle_event(&mut self, event: Event) -> Self::Response
fn draw(&mut self, rect: Rect, buffer: &mut Buffer) -> Self::DrawResponse
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
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