[][src]Crate meli

This crate contains the frontend stuff of the application. The application entry way on src/bin.rs creates an event loop and passes input to a thread.

The mail handling stuff is done in the melib crate which includes all backend needs. The split is done to theoretically be able to create different frontends with the same innards.

Modules

command

A parser module for user commands passed through Command mode.

components

Components visual and logical separations of application interfaces.

conf

Configuration logic and config.toml interfaces.

jobs

Async job executor thread pool

mailcap

Find mailcap entries to execute attachments.

sqlite3

Use an sqlite3 database for fast searching.

state

The application's state.

terminal

Terminal grid cells, keys, colors, etc.

types

UI types used throughout meli.

Macros

account_settings
address_list

Creates a comma separated list String out of an Address iterable.

bottom_right

Get the bottom right Position of an area

height

Get an area's height

is_valid_area

Check if area is valid.

mailbox_settings
shortcut
shortcut_key_values

Create a struct holding all of a Component's shortcuts.

split_command
try_recv_timeout
upper_left

Get the upper left Position of an area

width

Get an area's width

Structs

ManOpt
Opt

Enums

ManPages

Choose manpage

SubCommand

Statics

GLOBAL

Functions

main
notify
parse_manpage
run_app