Skip to main content

patterns/
lib.rs

1extern crate self as patterns;
2pub mod arith;
3pub mod awards;
4pub mod bound;
5pub mod capture;
6pub mod charts;
7pub mod chance;
8pub mod clamp;
9pub mod context;
10pub mod day;
11pub mod fresh;
12pub mod hex;
13pub mod lanes;
14pub mod ledger;
15pub mod levels;
16pub mod lists;
17pub mod money;
18pub mod order;
19pub mod queue;
20pub mod readings;
21pub mod record;
22pub mod rationale;
23pub mod render;
24pub mod select;
25pub mod seq;
26pub mod series;
27pub mod sign;
28pub mod table;
29pub mod text;
30pub mod views;
31pub mod window;
32
33pub use rationale::{because, decided, provisional, rejected, source, supersedes};
34pub use arith::{Floor, away, div, doubled, half, mul, raise_by, reduce_by, rem};
35pub use bound::{Bounded, HasMax, HasMin};
36pub use capture::{bitmap, rows_flipped, saved, shot, without_alpha};
37pub use chance::{Seed, below, next, pick};
38pub use clamp::{clamp_lower, clamp_range, clamp_upper};
39pub use context::{Context, handle, handle_all, replay, replay_from};
40pub use lanes::{across, lanes_here, parted};
41pub use ledger::{backoff, between, div_up, running_total, share_of, tally};
42pub use order::{highest, keep_between, lowest, nearest, ordered, placed, split_above};
43pub use queue::{dequeued, moved, page, replaced, rotated};
44pub use window::{cycled, fits, folded, is_due, is_within};
45pub use render::{Named, Piece, Shown, Texted, Worded, digits, filled, fixed, grouped, joined, label, named, named_text, numbered, shown_as, texted, worded_ink, worded_text};
46pub use day::{civil_day, civil_of, day_of, day_start, days_between, month_ends, month_start, window_end};
47pub use table::{latest_value, latest_value_or, union_keys, at_or_before, count_in, earliest, empty_set, empty_table, entries, from_key, keys, latest, latest_key_or, looked, merged, placed_in, removed, rows, shifted_in, tabled};
48pub use fresh::{Fresh, looked_fresh, looked_or, touched, touched_all, touched_maybe};
49pub use series::{DayTotal, Days, Running, Totals, amount_of, booked, booked_all, count_of, last_facet_or, moved_total, series_days, tallied};
50pub use sign::{highest_of, lowest_of, negated, negative_count, signed_of, summed_signed, unsigned_count, unsigned_of, wide_summed, wide_taken};
51pub use awards::{Award, Awards, Earned, Given, Granted, awarded};
52pub use charts::{NamedLine, Point};
53pub use charts::{after_day, count_points, named_lines, ending_points, fixed_share_points, remaining_points, share_of_supply_points, walked_usd_points, axis_ceiling, bar_height, latest_time, pie_slices, point_on, points_of_lines, time_ordered, unit_fraction, window_from};
54pub use money::{Dollars, Earner, added, as_number, divided, is_finite_positive, is_positive, none, percent_of, priced, ratio_of, rounded, taken, unit, walked_usd, whole_tokens, yield_factor};
55pub use views::{converted_each, converted_maybe, counted_rounded, described, faced, facet_of, far_future, keep_in, label_of_keyed, listed_maybe, looked_up, named_from, options_with_counts, picked_names, sum_seconds, sum_thirds, text_of, widened_usize};
56pub use lists::{bars, bars_maybe, kept, swapped_in, page_with_count, ranked_by, paged, without_empty, accumulated, after_prefix, all_true, any_some, any_true, cloned, converted, count_of_list, dedup_sorted, drop_where, each_named, each_of, each_with, either_text, extended, first_where, flattened, flattened_maybe, found_in, found_maybe, highest_value, holds_in, indexed_with, interleaved, is_blank, is_non_empty, is_some, joined_lists, joined_texts, keep_where, last_of, made, mapped_maybe, mapped_with, maybe_from, only_if, or_default, or_else, or_owned, paired, picked, places_of, starts_with_text, step_pick, taken_from, text_if, zipped, zipped3, zipped4, zipped_with};
57pub use select::{Guard, either, either_lazily, flipped, is_above, is_at_least, is_at_most, is_below, is_same, refuse_when, refuse_when_lazily};
58pub use seq::{Advance, Facet, Keyed, Ranked, Shift, Valued, advance_all, all, any, any_facet, at, count, count_above, count_below, count_facet, count_from, first, first_facet, first_facet_ref, first_ref, firsts, fold, found, found_ref, holds, is_empty, is_full, keep, keep_above, keep_facet, keep_ref, last, listed, map, pushed, rank_of, seconds, shift_all, size, total, value_of, with, without, without_facet, without_trailing_facet};
59pub use record::{Field, Fielded, camel_of, recorded, restored, restored_all};
60pub use patterns_macros::Record;
61pub use text::{count_text, csv_cell, csv_text, day_from_iso, day_text, duration_parts, duration_text, grouped_percent_text, grouped_places, hex_color, iso_day_text, percent_text, points_table, rgba_text, usd_text};
62pub use hex::{bytes_of, hex_text, prefixed, unprefixed};
63pub use levels::{day_amount, ending_on, latest_ending, latest_tally, row_on, signed_whole, wei_of, whole, Prices, Rows, Units, WeiRounding};
64pub use readings::{chart_series_of, column_points, readings_between, readings_keyed, readings_paged, Charted, Reading};