SYMBOL INDEX (942 symbols across 78 files) FILE: crates/eww/build.rs function main (line 2) | fn main() { FILE: crates/eww/src/app.rs type DaemonCommand (line 45) | pub enum DaemonCommand { type EwwWindow (line 92) | pub struct EwwWindow { method close (line 104) | pub fn close(self) { type App (line 113) | pub struct App { function fmt (line 139) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function wait_for_monitor_model (line 152) | async fn wait_for_monitor_model() { function handle_command (line 171) | pub async fn handle_command(&mut self, event: DaemonCommand) { function try_handle_command (line 178) | async fn try_handle_command(&mut self, event: DaemonCommand) -> Result<(... function stop_application (line 326) | fn stop_application(&mut self) { function update_global_variable (line 335) | fn update_global_variable(&mut self, name: VarName, value: DynVal) { function apply_run_while_expressions_mentioning (line 347) | fn apply_run_while_expressions_mentioning(&mut self, name: &VarName) { function force_poll_variable (line 369) | fn force_poll_variable(&mut self, name: VarName) { function close_window (line 387) | fn close_window(&mut self, instance_id: &str, auto_reopen: bool) -> Resu... function open_window (line 422) | fn open_window(&mut self, window_args: &WindowArguments) -> Result<()> { function load_config (line 540) | pub fn load_config(&mut self, config: config::EwwConfig) -> Result<()> { function load_css (line 564) | pub fn load_css(&mut self, file_id: usize, css: &str) -> Result<()> { function initialize_window (line 586) | fn initialize_window( function apply_window_position (line 649) | fn apply_window_position(mut window_geometry: WindowGeometry, monitor_ge... function on_screen_changed (line 663) | fn on_screen_changed(window: &Window, _old_screen: Option<&gdk::Screen>) { function get_gdk_monitor (line 670) | fn get_gdk_monitor(identifier: Option) -> Result Op... function get_monitor_from_display (line 707) | pub fn get_monitor_from_display(display: &gdk::Display, identifier: &Mon... function get_window_rectangle (line 732) | pub fn get_window_rectangle(geometry: WindowGeometry, screen_rect: gdk::... FILE: crates/eww/src/application_lifecycle.rs function send_exit (line 12) | pub fn send_exit() -> Result<()> { function recv_exit (line 19) | pub async fn recv_exit() -> Result<()> { FILE: crates/eww/src/client.rs function handle_client_only_action (line 14) | pub fn handle_client_only_action(paths: &EwwPaths, action: ActionClientO... function do_server_call (line 29) | pub fn do_server_call(stream: &mut UnixStream, action: &opts::ActionWith... FILE: crates/eww/src/config/eww_config.rs function read_from_eww_paths (line 21) | pub fn read_from_eww_paths(eww_paths: &EwwPaths) -> Result { type EwwConfig (line 28) | pub struct EwwConfig { method read_from_dir (line 40) | pub fn read_from_dir(files: &mut FileDatabase, eww_paths: &EwwPaths) -... method generate_initial_state (line 83) | pub fn generate_initial_state(&self) -> Result &HashMap { method get_window (line 97) | pub fn get_window(&self, name: &str) -> Result<&WindowDefinition> { method get_script_var (line 107) | pub fn get_script_var(&self, name: &VarName) -> Result<&ScriptVarDefin... method get_widget_definitions (line 111) | pub fn get_widget_definitions(&self) -> &HashMap Option<&Vec... FILE: crates/eww/src/config/script_var.rs function create_script_var_failed_warn (line 13) | pub fn create_script_var_failed_warn(span: Span, var_name: &VarName, err... function initial_value (line 22) | pub fn initial_value(var: &ScriptVarDefinition) -> Result { function run_command (line 41) | pub fn run_command(cmd: &str) -> Result { FILE: crates/eww/src/config/scss.rs function parse_scss_from_config (line 10) | pub fn parse_scss_from_config(path: &Path) -> anyhow::Result<(usize, Str... FILE: crates/eww/src/config/system_stats.rs type RefreshTime (line 7) | struct RefreshTime(std::time::Instant); method new (line 9) | pub fn new() -> Self { method next_refresh (line 13) | pub fn next_refresh(&mut self) -> std::time::Duration { function get_disks (line 27) | pub fn get_disks() -> String { function get_ram (line 54) | pub fn get_ram() -> String { function get_temperatures (line 73) | pub fn get_temperatures() -> String { function get_cpus (line 91) | pub fn get_cpus() -> String { function get_battery_capacity (line 110) | pub fn get_battery_capacity() -> Result { function get_battery_capacity (line 135) | pub fn get_battery_capacity() -> Result { function get_battery_capacity (line 206) | pub fn get_battery_capacity() -> Result { function get_battery_capacity (line 253) | pub fn get_battery_capacity() -> Result { function net (line 257) | pub fn net() -> String { function get_time (line 274) | pub fn get_time() -> String { FILE: crates/eww/src/daemon_response.rs type DaemonResponse (line 16) | pub enum DaemonResponse { type DaemonResponseSender (line 22) | pub struct DaemonResponseSender(mpsc::UnboundedSender); method send_success (line 30) | pub fn send_success(&self, s: String) -> Result<()> { method send_failure (line 34) | pub fn send_failure(&self, s: String) -> Result<()> { method respond_with_error_list (line 39) | pub fn respond_with_error_list(&self, errors: impl IntoIterator(&self, result: Result) -> Result<()> { method respond_with_error_msg (line 60) | fn respond_with_error_msg(&self, msg: String) -> Result<()> { function create_pair (line 24) | pub fn create_pair() -> (DaemonResponseSender, mpsc::UnboundedReceiver; FILE: crates/eww/src/display_backend.rs type DisplayBackend (line 11) | pub trait DisplayBackend: Send + Sync + 'static { constant IS_X11 (line 12) | const IS_X11: bool; constant IS_WAYLAND (line 13) | const IS_WAYLAND: bool; method initialize_window (line 15) | fn initialize_window(window_init: &WindowInitiator, monitor: gdk::Rect... constant IS_X11 (line 21) | const IS_X11: bool = false; constant IS_WAYLAND (line 22) | const IS_WAYLAND: bool = false; method initialize_window (line 24) | fn initialize_window(_window_init: &WindowInitiator, _monitor: gdk::Re... constant IS_X11 (line 42) | const IS_X11: bool = false; constant IS_WAYLAND (line 43) | const IS_WAYLAND: bool = true; method initialize_window (line 45) | fn initialize_window(window_init: &WindowInitiator, monitor: gdk::Rect... constant IS_X11 (line 155) | const IS_X11: bool = true; constant IS_WAYLAND (line 156) | const IS_WAYLAND: bool = false; method initialize_window (line 158) | fn initialize_window(window_init: &WindowInitiator, _monitor: gdk::Rec... type NoBackend (line 18) | pub struct NoBackend; type WaylandBackend (line 39) | pub struct WaylandBackend; type X11Backend (line 153) | pub struct X11Backend; function set_xprops (line 174) | pub fn set_xprops(window: &Window, monitor: Monitor, window_init: &Windo... type X11BackendConnection (line 180) | struct X11BackendConnection { method new (line 187) | fn new() -> Result { method set_xprops_for (line 194) | fn set_xprops_for(&self, window: &Window, monitor: Monitor, window_ini... FILE: crates/eww/src/error_handling_ctx.rs function clear_files (line 19) | pub fn clear_files() { function print_error (line 23) | pub fn print_error(err: anyhow::Error) { function format_error (line 33) | pub fn format_error(err: &anyhow::Error) -> String { function anyhow_err_to_diagnostic (line 37) | pub fn anyhow_err_to_diagnostic(err: &anyhow::Error) -> Option Self { method get_file (line 22) | fn get_file(&self, id: usize) -> Result<&CodeFile, codespan_reporting:... method insert_code_file (line 26) | fn insert_code_file(&mut self, file: CodeFile) -> usize { method insert_string (line 33) | pub fn insert_string(&mut self, name: String, content: String) -> Resu... type FileId (line 66) | type FileId = usize; type Name (line 67) | type Name = &'a str; type Source (line 68) | type Source = String; method name (line 70) | fn name(&'a self, id: Self::FileId) -> Result Result Result Result<(Span, ... method load_yuck_str (line 55) | fn load_yuck_str(&mut self, name: String, content: String) -> Result<(Sp... method unload (line 60) | fn unload(&mut self, id: usize) { type CodeFile (line 95) | struct CodeFile { method line_start (line 105) | fn line_start(&self, line_index: usize) -> Result std::io::Result { FILE: crates/eww/src/geometry.rs type Rect (line 5) | pub struct Rect { FILE: crates/eww/src/ipc_server.rs function run_server (line 9) | pub async fn run_server>(evt_send: UnboundedSe... function handle_connection (line 29) | async fn handle_connection(mut stream: tokio::net::UnixStream, evt_send:... function read_action_from_stream (line 54) | async fn read_action_from_stream(stream_read: &'_ mut tokio::net::unix::... FILE: crates/eww/src/main.rs function main (line 37) | fn main() { function detect_wayland (line 88) | fn detect_wayland() -> bool { function run (line 94) | fn run(opts: opts::Opt, eww_binary_name: String) -> R... function listen_for_daemon_response (line 184) | fn listen_for_daemon_response(mut recv: DaemonResponseReceiver) { function handle_server_command (line 198) | fn handle_server_command(paths: &EwwPaths, action: &ActionWithServer, co... function handle_daemon_response (line 205) | fn handle_daemon_response(res: DaemonResponse) { function attempt_connect (line 215) | fn attempt_connect(socket_path: impl AsRef, attempts: usize) -> Op... function check_server_running (line 228) | fn check_server_running(socket_path: impl AsRef) -> bool { FILE: crates/eww/src/opts.rs type Opt (line 18) | pub struct Opt { method from_env (line 220) | pub fn from_env() -> Self { method from (line 227) | fn from(other: RawOpt) -> Self { type RawOpt (line 31) | pub(super) struct RawOpt { type Action (line 61) | pub enum Action { type ActionClientOnly (line 81) | pub enum ActionClientOnly { type ActionWithServer (line 88) | pub enum ActionWithServer { method can_start_daemon (line 260) | pub fn can_start_daemon(&self) -> bool { method into_daemon_command (line 264) | pub fn into_daemon_command(self) -> (app::DaemonCommand, Option Result<(String, String)> { function parse_window_id_args (line 242) | fn parse_window_id_args(s: &str) -> Result<(String, VarName, DynVal)> { function parse_var_update_arg (line 252) | fn parse_var_update_arg(s: &str) -> Result<(VarName, DynVal)> { function with_response_channel (line 313) | fn with_response_channel(f: F) -> (O, Option Result(shell: &Shell, serializer: S) -> Result<... function deserialize (line 335) | pub fn deserialize<'de, D: Deserializer<'de>>(deserializer: D) -> Result... FILE: crates/eww/src/paths.rs type EwwPaths (line 11) | pub struct EwwPaths { method from_config_dir (line 19) | pub fn from_config_dir>(config_dir: P) -> Result { method default (line 60) | pub fn default() -> Result { method get_log_file (line 69) | pub fn get_log_file(&self) -> &Path { method get_log_dir (line 73) | pub fn get_log_dir(&self) -> &Path { method get_ipc_socket_file (line 77) | pub fn get_ipc_socket_file(&self) -> &Path { method get_config_dir (line 81) | pub fn get_config_dir(&self) -> &Path { method get_yuck_path (line 85) | pub fn get_yuck_path(&self) -> PathBuf { method fmt (line 91) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: crates/eww/src/script_var_handler.rs function init (line 25) | pub fn init(evt_send: UnboundedSender) -> ScriptVarHandle... type ScriptVarHandlerHandle (line 66) | pub struct ScriptVarHandlerHandle { method add (line 75) | pub fn add(&self, script_var: ScriptVarDefinition) { method stop_for_variable (line 83) | pub fn stop_for_variable(&self, name: VarName) { method stop_all (line 91) | pub fn stop_all(&self) { method join_thread (line 98) | pub fn join_thread(self) { type ScriptVarHandlerMsg (line 106) | enum ScriptVarHandlerMsg { type ScriptVarHandler (line 113) | struct ScriptVarHandler { method add (line 119) | async fn add(&mut self, script_var: ScriptVarDefinition) { method stop_for_variable (line 127) | async fn stop_for_variable(&mut self, name: &VarName) -> Result<()> { method stop_all (line 135) | async fn stop_all(&mut self) { type PollVarHandler (line 142) | struct PollVarHandler { method new (line 148) | fn new(evt_send: UnboundedSender) -> Result { method start (line 153) | async fn start(&mut self, var: PollScriptVar) { method stop_for_variable (line 187) | fn stop_for_variable(&mut self, name: &VarName) { method stop_all (line 194) | fn stop_all(&mut self) { function run_poll_once (line 199) | pub fn run_poll_once(var: &PollScriptVar) -> Result { method drop (line 209) | fn drop(&mut self) { type ListenVarHandler (line 214) | struct ListenVarHandler { method new (line 220) | fn new(evt_send: UnboundedSender) -> Result { method start (line 226) | async fn start(&mut self, var: ListenScriptVar) { method stop_for_variable (line 292) | async fn stop_for_variable(&mut self, name: &VarName) { method stop_all (line 299) | async fn stop_all(&mut self) { method drop (line 307) | fn drop(&mut self) { function terminate_handle (line 324) | async fn terminate_handle(mut child: tokio::process::Child) { type CancelCompletionNotifier (line 344) | pub(super) struct CancelCompletionNotifier(tokio::sync::mpsc::Sender<()>); method completed (line 346) | pub async fn completed(self) { type AwaitableCancelationReceiver (line 351) | pub(super) struct AwaitableCancelationReceiver(tokio::sync::mpsc::Receiv... method wait_for_cancel (line 354) | pub(super) async fn wait_for_cancel(&mut self) -> Option (AwaitableCancelationSender, AwaitableCancelat... FILE: crates/eww/src/server.rs function initialize_server (line 23) | pub fn initialize_server( function connect_monitor_added (line 141) | fn connect_monitor_added(ui_send: UnboundedSender) { function reload_config_and_css (line 151) | fn reload_config_and_css(ui_send: &UnboundedSender) -> Re... function init_async_part (line 164) | fn init_async_part(paths: EwwPaths, ui_send: UnboundedSender>(config_dir: P, evt_send: Unbounde... type ForkResult (line 258) | pub enum ForkResult { function do_detach (line 264) | fn do_detach(log_file_path: impl AsRef) -> Result { function cleanup_log_dir (line 298) | fn cleanup_log_dir(log_dir: impl AsRef) -> Result<()> { FILE: crates/eww/src/state/one_to_n_elements_map.rs type OneToNElementsMap (line 6) | pub struct OneToNElementsMap { function new (line 12) | pub fn new() -> Self { function clear (line 16) | pub fn clear(&mut self) { function insert (line 21) | pub fn insert(&mut self, child: I, parent: I, edge: T) -> Result<()> { function remove (line 30) | pub fn remove(&mut self, scope: I) { function get_parent_of (line 43) | pub fn get_parent_of(&self, index: I) -> Option { function get_parent_edge_of (line 47) | pub fn get_parent_edge_of(&self, index: I) -> Option<&(I, T)> { function get_parent_edge_mut (line 51) | pub fn get_parent_edge_mut(&mut self, index: I) -> Option<&mut (I, T)> { function get_children_of (line 56) | pub fn get_children_of(&self, index: I) -> HashSet { function get_children_edges_of (line 61) | pub fn get_children_edges_of(&self, index: I) -> Vec<(I, &T)> { function validate (line 73) | pub fn validate(&self) -> Result<()> { function test_add_scope (line 104) | pub fn test_add_scope() { function test_remove_scope (line 124) | pub fn test_remove_scope() { FILE: crates/eww/src/state/scope.rs type Scope (line 10) | pub struct Scope { method new (line 24) | pub(super) fn new(name: String, created_by: Option, data: ... type ListenerFn (line 29) | pub type ListenerFn = Box) -> std::fmt::Result { FILE: crates/eww/src/state/scope_graph.rs type ScopeIndex (line 16) | pub struct ScopeIndex(pub usize); method fmt (line 19) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method advance (line 24) | fn advance(&mut self) { type ScopeGraphEvent (line 29) | pub enum ScopeGraphEvent { type ScopeGraph (line 58) | pub struct ScopeGraph { method from_global_vars (line 66) | pub fn from_global_vars(vars: HashMap, event_sender: ... method update_global_value (line 81) | pub fn update_global_value(&mut self, var_name: &VarName, value: DynVa... method handle_scope_graph_event (line 85) | pub fn handle_scope_graph_event(&mut self, evt: ScopeGraphEvent) { method clear (line 94) | pub fn clear(&mut self, vars: HashMap) { method remove_scope (line 109) | pub fn remove_scope(&mut self, scope_index: ScopeIndex) { method validate (line 114) | pub fn validate(&self) -> Result<()> { method visualize (line 118) | pub fn visualize(&self) -> String { method currently_used_globals (line 122) | pub fn currently_used_globals(&self) -> HashSet { method currently_unused_globals (line 126) | pub fn currently_unused_globals(&self) -> HashSet { method scope_at (line 131) | pub fn scope_at(&self, index: ScopeIndex) -> Option<&Scope> { method global_scope (line 135) | pub fn global_scope(&self) -> &Scope { method evaluate_simplexpr_in_scope (line 142) | pub fn evaluate_simplexpr_in_scope(&self, index: ScopeIndex, expr: &Si... method register_new_scope (line 157) | pub fn register_new_scope( method register_listener (line 210) | pub fn register_listener(&mut self, scope_index: ScopeIndex, listener:... method register_scope_referencing_variable (line 239) | pub fn register_scope_referencing_variable(&mut self, scope_index: Sco... method update_value (line 249) | pub fn update_value(&mut self, original_scope_index: ScopeIndex, updat... method notify_value_changed (line 267) | pub fn notify_value_changed(&mut self, scope_index: ScopeIndex, update... method call_listeners_in_scope (line 291) | fn call_listeners_in_scope(&mut self, scope_index: ScopeIndex, updated... method find_scope_with_variable (line 305) | pub fn find_scope_with_variable(&self, index: ScopeIndex, var_name: &V... method lookup_variable_in_scope (line 315) | pub fn lookup_variable_in_scope(&self, index: ScopeIndex, var_name: &V... method variables_used_in_self_or_subscopes_of (line 323) | pub fn variables_used_in_self_or_subscopes_of(&self, index: ScopeIndex... method lookup_variables_in_scope (line 356) | pub fn lookup_variables_in_scope(&self, scope_index: ScopeIndex, vars:... type ProvidedAttr (line 374) | pub struct ProvidedAttr { type Inherits (line 382) | pub struct Inherits { type ScopeGraphInternal (line 390) | pub struct ScopeGraphInternal { method new (line 402) | pub fn new() -> Self { method clear (line 411) | pub fn clear(&mut self) { method add_scope (line 417) | pub fn add_scope(&mut self, scope: Scope) -> ScopeIndex { method descendant_edges_of (line 427) | pub fn descendant_edges_of(&self, index: ScopeIndex) -> Vec<(ScopeInde... method subscope_edges_of (line 431) | pub fn subscope_edges_of(&self, index: ScopeIndex) -> Vec<(ScopeIndex,... method superscope_edge_of (line 435) | pub fn superscope_edge_of(&self, index: ScopeIndex) -> Option<&(ScopeI... method remove_scope (line 439) | pub fn remove_scope(&mut self, index: ScopeIndex) { method add_inheritance_relation (line 450) | pub fn add_inheritance_relation(&mut self, a: ScopeIndex, b: ScopeInde... method register_scope_provides_attr (line 455) | pub fn register_scope_provides_attr(&mut self, a: ScopeIndex, b: Scope... method scope_at (line 466) | pub fn scope_at(&self, index: ScopeIndex) -> Option<&Scope> { method scope_at_mut (line 470) | pub fn scope_at_mut(&mut self, index: ScopeIndex) -> Option<&mut Scope> { method subscopes_referencing (line 475) | pub fn subscopes_referencing(&self, index: ScopeIndex, var_name: &VarN... method superscope_of (line 484) | pub fn superscope_of(&self, index: ScopeIndex) -> Option { method scopes_getting_attr_using (line 489) | pub fn scopes_getting_attr_using(&self, index: ScopeIndex, var_name: &... method add_reference_to_inherits_edge (line 500) | pub fn add_reference_to_inherits_edge(&mut self, subscope: ScopeIndex,... method validate (line 510) | pub fn validate(&self) -> Result<()> { method visualize (line 549) | pub fn visualize(&self) -> String { function test_nested_inheritance (line 612) | fn test_nested_inheritance() { function test_lookup_variable_in_scope (line 632) | fn test_lookup_variable_in_scope() { function test_variables_used_in_self_or_subscopes_of (line 686) | fn test_variables_used_in_self_or_subscopes_of() { FILE: crates/eww/src/state/test.rs function create_fn_verificator (line 13) | pub fn create_fn_verificator() -> (Arc, Box) { function test_delete_scope (line 40) | pub fn test_delete_scope() { function test_state_updates (line 78) | fn test_state_updates() { FILE: crates/eww/src/util.rs function list_difference (line 58) | pub fn list_difference<'a, 'b, T: PartialEq>(a: &'a [T], b: &'b [T]) -> ... method is_blank (line 79) | fn is_blank(self) -> bool { method trim_lines (line 84) | fn trim_lines(self) -> String { type IterAverage (line 89) | pub trait IterAverage { method avg (line 90) | fn avg(self) -> f32; method avg (line 94) | fn avg(self) -> f32 { function replace_env_var_references (line 108) | pub fn replace_env_var_references(input: String) -> String { function unindent (line 114) | pub fn unindent(text: &str) -> String { function test_replace_env_var_references (line 139) | fn test_replace_env_var_references() { function test_unindent (line 149) | fn test_unindent() { FILE: crates/eww/src/widgets/build_widget.rs type BuilderArgs (line 34) | pub struct BuilderArgs<'a> { function build_gtk_widget (line 49) | pub fn build_gtk_widget( function build_basic_gtk_widget (line 68) | fn build_basic_gtk_widget( function build_builtin_gtk_widget (line 123) | fn build_builtin_gtk_widget( function populate_widget_children (line 178) | fn populate_widget_children( function build_loop_special_widget (line 218) | fn build_loop_special_widget( function build_children_special_widget (line 283) | fn build_children_special_widget( type CustomWidgetInvocation (line 344) | pub struct CustomWidgetInvocation { function validate_container_children_count (line 352) | fn validate_container_children_count(container: >k::Container, widget_... FILE: crates/eww/src/widgets/circular_progressbar.rs type CircProgPriv (line 15) | pub struct CircProgPriv { method default (line 33) | fn default() -> Self { method properties (line 45) | fn properties() -> &'static [glib::ParamSpec] { method set_property (line 49) | fn set_property(&self, _id: usize, value: &glib::Value, pspec: &glib::Pa... method property (line 68) | fn property(&self, id: usize, pspec: &glib::ParamSpec) -> glib::Value { type ParentType (line 75) | type ParentType = gtk::Bin; type Type (line 76) | type Type = CircProg; constant NAME (line 78) | const NAME: &'static str = "CircProg"; method class_init (line 80) | fn class_init(klass: &mut Self::Class) { method default (line 86) | fn default() -> Self { method new (line 92) | pub fn new() -> Self { method add (line 98) | fn add(&self, widget: >k::Widget) { function calc_widget_lowest_preferred_dimension (line 109) | fn calc_widget_lowest_preferred_dimension(widget: >k::Widget) -> (i32,... method preferred_width (line 122) | fn preferred_width(&self) -> (i32, i32) { method preferred_width_for_height (line 135) | fn preferred_width_for_height(&self, _height: i32) -> (i32, i32) { method preferred_height (line 139) | fn preferred_height(&self) -> (i32, i32) { method preferred_height_for_width (line 152) | fn preferred_height_for_width(&self, _width: i32) -> (i32, i32) { method draw (line 156) | fn draw(&self, cr: &cairo::Context) -> glib::Propagation { function perc_to_rad (line 232) | fn perc_to_rad(n: f64) -> f64 { FILE: crates/eww/src/widgets/graph.rs type GraphPriv (line 19) | pub struct GraphPriv { method update_history (line 75) | fn update_history(&self, v: (std::time::Instant, f64)) { method value_to_point (line 94) | fn value_to_point(&self, width: f64, height: f64, x: f64, y: f64) -> (... method default (line 54) | fn default() -> Self { method properties (line 103) | fn properties() -> &'static [glib::ParamSpec] { method set_property (line 107) | fn set_property(&self, _id: usize, value: &glib::Value, pspec: &glib::Pa... method property (line 146) | fn property(&self, id: usize, pspec: &glib::ParamSpec) -> glib::Value { type ParentType (line 153) | type ParentType = gtk::Bin; type Type (line 154) | type Type = Graph; constant NAME (line 156) | const NAME: &'static str = "Graph"; method class_init (line 158) | fn class_init(klass: &mut Self::Class) { method default (line 164) | fn default() -> Self { method new (line 170) | pub fn new() -> Self { method add (line 176) | fn add(&self, _widget: >k::Widget) { method preferred_width (line 183) | fn preferred_width(&self) -> (i32, i32) { method preferred_width_for_height (line 188) | fn preferred_width_for_height(&self, height: i32) -> (i32, i32) { method preferred_height (line 192) | fn preferred_height(&self) -> (i32, i32) { method preferred_height_for_width (line 197) | fn preferred_height_for_width(&self, width: i32) -> (i32, i32) { method draw (line 201) | fn draw(&self, cr: &cairo::Context) -> glib::Propagation { function apply_line_style (line 308) | fn apply_line_style(style: &str, cr: &cairo::Context) -> Result<()> { FILE: crates/eww/src/widgets/mod.rs function run_command (line 16) | fn run_command(timeout: std::time::Duration, cmd: &str, args: &[T]) function replace_placeholders (line 44) | fn replace_placeholders(cmd: &str, args: &[T]) -> String function test_replace_placeholders (line 60) | fn test_replace_placeholders() { FILE: crates/eww/src/widgets/systray.rs type DBusSession (line 12) | struct DBusSession { function dbus_session (line 16) | async fn dbus_session() -> zbus::Result<&'static DBusSession> { function run_async_task (line 32) | fn run_async_task(f: F) -> F::Output { type Props (line 37) | pub struct Props { method new (line 43) | pub fn new() -> Self { method icon_size (line 48) | pub fn icon_size(&self, value: i32) { type Tray (line 60) | struct Tray { method add_item (line 97) | fn add_item(&mut self, id: &str, item: notifier_host::Item) { method remove_item (line 109) | fn remove_item(&mut self, id: &str) { function spawn_systray (line 68) | pub fn spawn_systray(container: >k::Box, props: &Props) { type Item (line 120) | struct Item { method new (line 137) | fn new(id: String, item: notifier_host::Item, icon_size: tokio::sync::... method maintain (line 166) | async fn maintain( method drop (line 129) | fn drop(&mut self) { function load_icon_for_item (line 271) | async fn load_icon_for_item(icon: >k::Image, item: ¬ifier_host::Ite... FILE: crates/eww/src/widgets/transform.rs type TransformPriv (line 16) | pub struct TransformPriv { method default (line 43) | fn default() -> Self { method properties (line 58) | fn properties() -> &'static [glib::ParamSpec] { method set_property (line 62) | fn set_property(&self, _id: usize, value: &glib::Value, pspec: &glib::Pa... method property (line 96) | fn property(&self, id: usize, pspec: &glib::ParamSpec) -> glib::Value { type ParentType (line 103) | type ParentType = gtk::Bin; type Type (line 104) | type Type = Transform; constant NAME (line 106) | const NAME: &'static str = "Transform"; method class_init (line 108) | fn class_init(klass: &mut Self::Class) { method default (line 114) | fn default() -> Self { method new (line 120) | pub fn new() -> Self { method add (line 126) | fn add(&self, widget: >k::Widget) { method draw (line 139) | fn draw(&self, cr: >k::cairo::Context) -> glib::Propagation { function perc_to_rad (line 198) | fn perc_to_rad(n: f64) -> f64 { FILE: crates/eww/src/widgets/widget_definitions.rs constant BUILTIN_WIDGET_NAMES (line 61) | pub const BUILTIN_WIDGET_NAMES: &[&str] = &[ function widget_use_to_gtk_widget (line 90) | pub(super) fn widget_use_to_gtk_widget(bargs: &mut BuilderArgs) -> Resul... function resolve_widget_attrs (line 135) | pub(super) fn resolve_widget_attrs(bargs: &mut BuilderArgs, gtk_widget: ... function resolve_range_attrs (line 229) | pub(super) fn resolve_range_attrs(bargs: &mut BuilderArgs, gtk_widget: &... function resolve_orientable_attrs (line 279) | pub(super) fn resolve_orientable_attrs(bargs: &mut BuilderArgs, gtk_widg... constant WIDGET_NAME_COMBO_BOX_TEXT (line 289) | const WIDGET_NAME_COMBO_BOX_TEXT: &str = "combo-box-text"; function build_gtk_combo_box_text (line 292) | fn build_gtk_combo_box_text(bargs: &mut BuilderArgs) -> Result Result { constant WIDGET_NAME_REVEALER (line 362) | const WIDGET_NAME_REVEALER: &str = "revealer"; function build_gtk_revealer (line 365) | fn build_gtk_revealer(bargs: &mut BuilderArgs) -> Result { constant WIDGET_NAME_CHECKBOX (line 378) | const WIDGET_NAME_CHECKBOX: &str = "checkbox"; function build_gtk_checkbox (line 381) | fn build_gtk_checkbox(bargs: &mut BuilderArgs) -> Result Result Result Result { constant WIDGET_NAME_PROGRESS (line 472) | const WIDGET_NAME_PROGRESS: &str = "progress"; function build_gtk_progress (line 475) | fn build_gtk_progress(bargs: &mut BuilderArgs) -> Result Result { constant WIDGET_NAME_BUTTON (line 523) | const WIDGET_NAME_BUTTON: &str = "button"; function build_gtk_button (line 526) | fn build_gtk_button(bargs: &mut BuilderArgs) -> Result { function parse_icon_size (line 574) | fn parse_icon_size(o: &str) -> Result { constant WIDGET_NAME_IMAGE (line 585) | const WIDGET_NAME_IMAGE: &str = "image"; function build_gtk_image (line 588) | fn build_gtk_image(bargs: &mut BuilderArgs) -> Result { constant WIDGET_NAME_BOX (line 635) | const WIDGET_NAME_BOX: &str = "box"; function build_gtk_box (line 638) | fn build_gtk_box(bargs: &mut BuilderArgs) -> Result { constant WIDGET_NAME_OVERLAY (line 651) | const WIDGET_NAME_OVERLAY: &str = "overlay"; function build_gtk_overlay (line 654) | fn build_gtk_overlay(bargs: &mut BuilderArgs) -> Result { constant WIDGET_NAME_TOOLTIP (line 688) | const WIDGET_NAME_TOOLTIP: &str = "tooltip"; function build_tooltip (line 691) | fn build_tooltip(bargs: &mut BuilderArgs) -> Result { constant WIDGET_NAME_CENTERBOX (line 732) | const WIDGET_NAME_CENTERBOX: &str = "centerbox"; function build_center_box (line 735) | fn build_center_box(bargs: &mut BuilderArgs) -> Result { constant WIDGET_NAME_SCROLL (line 778) | const WIDGET_NAME_SCROLL: &str = "scroll"; function build_gtk_scrolledwindow (line 781) | fn build_gtk_scrolledwindow(bargs: &mut BuilderArgs) -> Result Result { constant WIDGET_NAME_LABEL (line 963) | const WIDGET_NAME_LABEL: &str = "label"; function build_gtk_label (line 966) | fn build_gtk_label(bargs: &mut BuilderArgs) -> Result { constant WIDGET_NAME_LITERAL (line 1068) | const WIDGET_NAME_LITERAL: &str = "literal"; function build_gtk_literal (line 1071) | fn build_gtk_literal(bargs: &mut BuilderArgs) -> Result { constant WIDGET_NAME_CALENDAR (line 1119) | const WIDGET_NAME_CALENDAR: &str = "calendar"; function build_gtk_calendar (line 1122) | fn build_gtk_calendar(bargs: &mut BuilderArgs) -> Result { constant WIDGET_NAME_STACK (line 1168) | const WIDGET_NAME_STACK: &str = "stack"; function build_gtk_stack (line 1171) | fn build_gtk_stack(bargs: &mut BuilderArgs) -> Result { constant WIDGET_NAME_TRANSFORM (line 1206) | const WIDGET_NAME_TRANSFORM: &str = "transform"; function build_transform (line 1209) | fn build_transform(bargs: &mut BuilderArgs) -> Result { constant WIDGET_NAME_CIRCULAR_PROGRESS (line 1230) | const WIDGET_NAME_CIRCULAR_PROGRESS: &str = "circular-progress"; function build_circular_progress_bar (line 1233) | fn build_circular_progress_bar(bargs: &mut BuilderArgs) -> Result Result { constant WIDGET_NAME_SYSTRAY (line 1293) | const WIDGET_NAME_SYSTRAY: &str = "systray"; function build_systray (line 1296) | fn build_systray(bargs: &mut BuilderArgs) -> Result { function parse_orientation (line 1329) | fn parse_orientation(o: &str) -> Result { type DragEntryType (line 1336) | enum DragEntryType { function parse_dragtype (line 1342) | fn parse_dragtype(o: &str) -> Result { function parse_revealer_transition (line 1350) | fn parse_revealer_transition(t: &str) -> Result Result { function parse_align (line 1374) | fn parse_align(o: &str) -> Result { function parse_justification (line 1385) | fn parse_justification(j: &str) -> Result { function parse_position_type (line 1395) | fn parse_position_type(g: &str) -> Result { function parse_gravity (line 1405) | fn parse_gravity(g: &str) -> Result { function parse_wrap_mode (line 1416) | fn parse_wrap_mode(w: &str) -> Result { function connect_first_map (line 1425) | fn connect_first_map, F: Fn(&W) + 'static>(widget: &... FILE: crates/eww/src/widgets/window.rs type WindowPriv (line 12) | pub struct WindowPriv { method default (line 22) | fn default() -> Self { type ParentType (line 29) | type ParentType = gtk::Window; type Type (line 30) | type Type = Window; constant NAME (line 32) | const NAME: &'static str = "WindowEww"; method default (line 36) | fn default() -> Self { method new (line 42) | pub fn new(type_: gtk::WindowType, x_: i32, y_: i32) -> Self { method properties (line 52) | fn properties() -> &'static [glib::ParamSpec] { method property (line 56) | fn property(&self, id: usize, pspec: &glib::ParamSpec) -> glib::Value { FILE: crates/eww/src/window_arguments.rs function parse_value_from_args (line 13) | fn parse_value_from_args(name: &str, args: &mut HashMap R... method get_scoped_vars (line 47) | pub fn get_scoped_vars(&self) -> HashMap { FILE: crates/eww_shared_util/src/locale.rs function get_locale (line 7) | pub fn get_locale() -> Locale { FILE: crates/eww_shared_util/src/span.rs type Span (line 6) | pub struct Span(pub usize, pub usize, pub usize); constant DUMMY (line 9) | pub const DUMMY: Span = Span(usize::MAX, usize::MAX, usize::MAX); method point (line 11) | pub fn point(loc: usize, file_id: usize) -> Self { method to (line 17) | pub fn to(mut self, other: Span) -> Self { method ending_at (line 23) | pub fn ending_at(mut self, end: usize) -> Self { method point_span (line 29) | pub fn point_span(mut self) -> Self { method point_span_at_end (line 35) | pub fn point_span_at_end(mut self) -> Self { method shifted (line 40) | pub fn shifted(mut self, n: isize) -> Self { method new_relative (line 46) | pub fn new_relative(mut self, other_start: usize, other_end: usize) ->... method is_dummy (line 52) | pub fn is_dummy(&self) -> bool { method fmt (line 58) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method fmt (line 68) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Spanned (line 73) | pub trait Spanned { method span (line 74) | fn span(&self) -> Span; FILE: crates/eww_shared_util/src/wrappers.rs type VarName (line 9) | pub struct VarName(pub String); method borrow (line 12) | fn borrow(&self) -> &str { method from (line 24) | fn from(s: &str) -> Self { method from (line 30) | fn from(x: AttrName) -> Self { type AttrName (line 39) | pub struct AttrName(pub String); method to_attr_name_ref (line 18) | pub fn to_attr_name_ref(&self) -> &AttrName { method to_var_name_ref (line 42) | pub fn to_var_name_ref(&self) -> &VarName { method borrow (line 48) | fn borrow(&self) -> &str { method from (line 54) | fn from(s: &str) -> Self { method from (line 60) | fn from(x: VarName) -> Self { FILE: crates/notifier_host/src/host.rs type Host (line 6) | pub trait Host { method add_item (line 9) | fn add_item(&mut self, id: &str, item: Item); method remove_item (line 12) | fn remove_item(&mut self, id: &str); function register_as_host (line 29) | pub async fn register_as_host( function run_host (line 67) | pub async fn run_host(host: &mut dyn Host, snw: &proxy::StatusNotifierWa... FILE: crates/notifier_host/src/icon.rs type IconError (line 6) | enum IconError { function fallback_icon (line 31) | async fn fallback_icon(size: i32, scale: i32) -> Option) -> gtk::... function icon_from_pixmaps (line 73) | fn icon_from_pixmaps(pixmaps: Vec<(i32, i32, Vec)>, size: i32) -> Op... function icon_from_name (line 100) | fn icon_from_name( function load_icon_from_sni (line 124) | pub async fn load_icon_from_sni( FILE: crates/notifier_host/src/item.rs type Status (line 11) | pub enum Status { type Err (line 28) | type Err = ParseStatusError; method from_str (line 30) | fn from_str(s: &str) -> std::result::Result { type ParseStatusError (line 25) | pub struct ParseStatusError; type Item (line 44) | pub struct Item { method from_address (line 58) | pub async fn from_address(con: &zbus::Connection, service: &str) -> zb... method status (line 83) | pub async fn status(&self) -> zbus::Result { method set_menu (line 91) | pub async fn set_menu(&mut self, widget: >k::EventBox) -> zbus::Resu... method popup_menu (line 98) | pub async fn popup_menu(&self, event: >k::gdk::EventButton, x: i32, ... method icon (line 108) | pub async fn icon(&self, size: i32, scale: i32) -> Option String { FILE: crates/notifier_host/src/lib.rs constant WATCHER_BUS (line 48) | pub const WATCHER_BUS: &str = "org.kde.StatusNotifierWatcher"; constant WATCHER_OBJECT (line 49) | pub const WATCHER_OBJECT: &str = "/StatusNotifierWatcher"; constant ITEM_OBJECT (line 51) | pub const ITEM_OBJECT: &str = "/StatusNotifierItem"; FILE: crates/notifier_host/src/proxy/dbus_status_notifier_item.rs type StatusNotifierItem (line 18) | trait StatusNotifierItem { method activate (line 20) | fn activate(&self, x: i32, y: i32) -> zbus::Result<()>; method context_menu (line 23) | fn context_menu(&self, x: i32, y: i32) -> zbus::Result<()>; method scroll (line 26) | fn scroll(&self, delta: i32, orientation: &str) -> zbus::Result<()>; method secondary_activate (line 29) | fn secondary_activate(&self, x: i32, y: i32) -> zbus::Result<()>; method new_attention_icon (line 33) | fn new_attention_icon(&self) -> zbus::Result<()>; method new_icon (line 37) | fn new_icon(&self) -> zbus::Result<()>; method new_overlay_icon (line 41) | fn new_overlay_icon(&self) -> zbus::Result<()>; method new_status (line 45) | fn new_status(&self, status: &str) -> zbus::Result<()>; method new_title (line 49) | fn new_title(&self) -> zbus::Result<()>; method new_tool_tip (line 53) | fn new_tool_tip(&self) -> zbus::Result<()>; method attention_icon_name (line 57) | fn attention_icon_name(&self) -> zbus::Result; method attention_icon_pixmap (line 61) | fn attention_icon_pixmap(&self) -> zbus::Result... method attention_movie_name (line 65) | fn attention_movie_name(&self) -> zbus::Result; method category (line 69) | fn category(&self) -> zbus::Result; method icon_name (line 73) | fn icon_name(&self) -> zbus::Result; method icon_pixmap (line 77) | fn icon_pixmap(&self) -> zbus::Result)>>; method icon_theme_path (line 81) | fn icon_theme_path(&self) -> zbus::Result; method id (line 85) | fn id(&self) -> zbus::Result; method item_is_menu (line 89) | fn item_is_menu(&self) -> zbus::Result; method menu (line 93) | fn menu(&self) -> zbus::Result; method overlay_icon_name (line 97) | fn overlay_icon_name(&self) -> zbus::Result; method overlay_icon_pixmap (line 101) | fn overlay_icon_pixmap(&self) -> zbus::Result)>>; method status (line 105) | fn status(&self) -> zbus::Result; method title (line 109) | fn title(&self) -> zbus::Result; method tool_tip (line 113) | fn tool_tip(&self) -> zbus::Result<(String, Vec<(i32, i32, Vec)>)>; FILE: crates/notifier_host/src/proxy/dbus_status_notifier_watcher.rs type StatusNotifierWatcher (line 19) | trait StatusNotifierWatcher { method register_status_notifier_host (line 21) | fn register_status_notifier_host(&self, service: &str) -> zbus::Result... method register_status_notifier_item (line 24) | fn register_status_notifier_item(&self, service: &str) -> zbus::Result... method status_notifier_host_registered (line 28) | fn status_notifier_host_registered(&self) -> zbus::Result<()>; method status_notifier_host_unregistered (line 32) | fn status_notifier_host_unregistered(&self) -> zbus::Result<()>; method status_notifier_item_registered (line 36) | fn status_notifier_item_registered(&self, service: &str) -> zbus::Resu... method status_notifier_item_unregistered (line 40) | fn status_notifier_item_unregistered(&self, service: &str) -> zbus::Re... method is_status_notifier_host_registered (line 44) | fn is_status_notifier_host_registered(&self) -> zbus::Result; method protocol_version (line 48) | fn protocol_version(&self) -> zbus::Result; method registered_status_notifier_items (line 52) | fn registered_status_notifier_items(&self) -> zbus::Result>; FILE: crates/notifier_host/src/watcher.rs type Watcher (line 11) | pub struct Watcher { method register_status_notifier_host (line 29) | async fn register_status_notifier_host( method status_notifier_host_registered (line 93) | async fn status_notifier_host_registered(ctxt: &zbus::SignalContext<'_... method status_notifier_host_unregistered (line 97) | async fn status_notifier_host_unregistered(ctxt: &zbus::SignalContext<... method is_status_notifier_host_registered (line 101) | async fn is_status_notifier_host_registered(&self) -> bool { method register_status_notifier_item (line 109) | async fn register_status_notifier_item( method status_notifier_item_registered (line 163) | async fn status_notifier_item_registered(ctxt: &zbus::SignalContext<'_... method status_notifier_item_unregistered (line 167) | async fn status_notifier_item_unregistered(ctxt: &zbus::SignalContext<... method registered_status_notifier_items (line 171) | async fn registered_status_notifier_items(&self) -> Vec { method protocol_version (line 180) | fn protocol_version(&self) -> i32 { method new (line 187) | pub fn new() -> Watcher { method attach_to (line 192) | pub async fn attach_to(self, con: &zbus::Connection) -> zbus::Result<(... method is_status_notifier_host_registered_refresh (line 211) | async fn is_status_notifier_host_registered_refresh(ctxt: &zbus::Signa... method registered_status_notifier_items_refresh (line 222) | async fn registered_status_notifier_items_refresh(ctxt: &zbus::SignalC... function parse_service (line 240) | async fn parse_service<'a>( function wait_for_service_exit (line 282) | async fn wait_for_service_exit(con: &zbus::Connection, service: zbus::na... FILE: crates/simplexpr/build.rs function main (line 2) | fn main() { FILE: crates/simplexpr/src/ast.rs type BinOp (line 10) | pub enum BinOp { type UnaryOp (line 29) | pub enum UnaryOp { type AccessType (line 38) | pub enum AccessType { type SimplExpr (line 44) | pub enum SimplExpr { method fmt (line 58) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method literal (line 88) | pub fn literal(span: Span, s: String) -> Self { method synth_string (line 93) | pub fn synth_string(s: impl Into) -> Self { method synth_literal (line 98) | pub fn synth_literal>(s: T) -> Self { method var_ref (line 102) | pub fn var_ref(span: Span, n: impl Into) -> Self { method references_var (line 106) | pub fn references_var(&self, var: &VarName) -> bool { method collect_var_refs_into (line 119) | pub fn collect_var_refs_into(&self, dest: &mut Vec) { method collect_var_refs (line 142) | pub fn collect_var_refs(&self) -> Vec { method fmt (line 167) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method span (line 150) | fn span(&self) -> Span { FILE: crates/simplexpr/src/dynval.rs type Result (line 6) | pub type Result = std::result::Result; type ConversionError (line 10) | pub struct ConversionError { method new (line 21) | pub fn new(value: DynVal, target_type: &'static str, source: impl std:... type DurationParseError (line 18) | pub struct DurationParseError; method span (line 26) | fn span(&self) -> Span { type DynVal (line 32) | pub struct DynVal(pub String, pub Span); method from (line 35) | fn from(s: String) -> Self { method fmt (line 41) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method fmt (line 46) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method eq (line 53) | fn eq(&self, other: &Self) -> bool { method from_iter (line 63) | fn from_iter>(iter: T) -> Self { type Err (line 69) | type Err = ConversionError; method from_str (line 73) | fn from_str(s: &str) -> Result { type Error (line 102) | type Error = serde_json::Error; method try_from (line 104) | fn try_from(value: serde_json::Value) -> std::result::Result) -> Self { method from (line 118) | fn from(d: std::time::Duration) -> Self { method from (line 124) | fn from(v: &serde_json::Value) -> Self { method at (line 142) | pub fn at(mut self, span: Span) -> Self { method at_if_dummy (line 147) | pub fn at_if_dummy(mut self, span: Span) -> Self { method from_string (line 154) | pub fn from_string(s: String) -> Self { method read_as (line 158) | pub fn read_as>(&self) -> std::result::Resul... method into_inner (line 162) | pub fn into_inner(self) -> String { method as_string (line 167) | pub fn as_string(&self) -> Result { method as_f64 (line 171) | pub fn as_f64(&self) -> Result { method as_i32 (line 175) | pub fn as_i32(&self) -> Result { method as_i64 (line 179) | pub fn as_i64(&self) -> Result { method as_bool (line 183) | pub fn as_bool(&self) -> Result { method as_duration (line 187) | pub fn as_duration(&self) -> Result { method as_vec (line 215) | pub fn as_vec(&self) -> Result> { method as_json_value (line 240) | pub fn as_json_value(&self) -> Result { method as_json_array (line 245) | pub fn as_json_array(&self) -> Result> { method as_json_object (line 253) | pub fn as_json_object(&self) -> Result std::result::Result; type Err (line 84) | type Err = E; method from_dynval (line 86) | fn from_dynval(x: &DynVal) -> std::result::Result { method span (line 136) | fn span(&self) -> Span { function test_parse_vec (line 266) | fn test_parse_vec() { function test_parse_duration (line 278) | fn test_parse_duration() { FILE: crates/simplexpr/src/error.rs type ParseError (line 6) | pub struct ParseError { method from_parse_error (line 12) | pub fn from_parse_error(file_id: usize, err: lalrpop_util::ParseError<... method span (line 18) | fn span(&self) -> Span { FILE: crates/simplexpr/src/eval.rs type JaqParseError (line 20) | pub struct JaqParseError(pub Option); method fmt (line 22) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type EvalError (line 31) | pub enum EvalError { method at (line 75) | pub fn at(self, span: Span) -> Self { method map_in_span (line 82) | pub fn map_in_span(self, f: impl FnOnce(Self) -> Self) -> Self { method span (line 91) | fn span(&self) -> Span { method try_map_var_refs (line 103) | pub fn try_map_var_refs Result ... method map_var_refs (line 133) | pub fn map_var_refs(self, f: impl Fn(Span, VarName) -> SimplExpr) -> Self { method resolve_one_level (line 140) | pub fn resolve_one_level(self, variables: &HashMap) ... method resolve_refs (line 145) | pub fn resolve_refs(self, variables: &HashMap) -> Resul... method var_refs_with_span (line 156) | pub fn var_refs_with_span(&self) -> Vec<(Span, &VarName)> { method eval_no_vars (line 182) | pub fn eval_no_vars(&self) -> Result { method eval (line 192) | pub fn eval(&self, values: &HashMap) -> Result) -> Result Result... function run_jaq_function (line 593) | fn run_jaq_function(json: serde_json::Value, code: String, args: &str) -... FILE: crates/simplexpr/src/parser/lalrpop_helpers.rs function b (line 7) | pub fn b(x: T) -> Box { function parse_stringlit (line 11) | pub fn parse_stringlit( FILE: crates/simplexpr/src/parser/lexer.rs type Sp (line 5) | pub type Sp = (usize, T, usize); type StrLitSegment (line 8) | pub enum StrLitSegment { type Token (line 14) | pub enum Token { type Lexer (line 117) | pub struct Lexer<'s> { function new (line 126) | pub fn new(file_id: usize, span_offset: usize, source: &'s str) -> Self { function remaining (line 130) | fn remaining(&self) -> &'s str { function next_token (line 134) | pub fn next_token(&mut self) -> Option, LexicalError>> { function advance_by (line 176) | fn advance_by(&mut self, n: usize) -> Option<()> { function advance_until_one_of (line 187) | fn advance_until_one_of<'a>(&mut self, pat: &[&'a str]) -> Option<&'a st... function advance_until_unescaped_one_of (line 201) | fn advance_until_unescaped_one_of<'a>(&mut self, pat: &[&'a str]) -> Opt... function string_lit (line 213) | pub fn string_lit(&mut self) -> Option>>... type Item (line 269) | type Item = Result, LexicalError>; method next (line 271) | fn next(&mut self) -> Option { type LexicalError (line 277) | pub struct LexicalError(pub Span); method fmt (line 286) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method span (line 280) | fn span(&self) -> Span { FILE: crates/simplexpr/src/parser/mod.rs function parse_string (line 6) | pub fn parse_string(byte_offset: usize, file_id: usize, s: &str) -> Resu... function test (line 27) | fn test() { FILE: crates/yuck/build.rs function main (line 2) | fn main() { FILE: crates/yuck/src/ast_error.rs type AstError (line 7) | pub enum AstError { method span (line 48) | fn span(&self) -> Span { method to_diagnostic (line 26) | fn to_diagnostic(&self) -> codespan_reporting::diagnostic::Diagnostic Span { type AttrEntry (line 34) | pub struct AttrEntry { method new (line 40) | pub fn new(key_span: Span, value: Ast) -> AttrEntry { type Attributes (line 47) | pub struct Attributes { method new (line 53) | pub fn new(span: Span, attrs: HashMap) -> Self { method ast_required (line 57) | pub fn ast_required(&mut self, key: &str) -> Result(&mut self, key: &str) -> Result(&mut self, key: &str) -> Result(&mut self, key: &str) -> Result impl Iterator { type AttrSpec (line 115) | pub struct AttrSpec { method from_ast (line 122) | fn from_ast(e: Ast) -> DiagResult { FILE: crates/yuck/src/config/backend_window_options.rs type Error (line 23) | pub enum Error { type BackendWindowOptionsDef (line 37) | pub struct BackendWindowOptionsDef { method eval (line 43) | pub fn eval(&self, local_variables: &HashMap) -> Resu... method from_attrs (line 47) | pub fn from_attrs(attrs: &mut Attributes) -> DiagResult { type BackendWindowOptions (line 69) | pub struct BackendWindowOptions { type X11BackendWindowOptions (line 75) | pub struct X11BackendWindowOptions { type X11BackendWindowOptionsDef (line 84) | pub struct X11BackendWindowOptionsDef { method eval (line 92) | fn eval(&self, local_variables: &HashMap) -> Result) -> Result Result { type X11WindowType (line 178) | pub enum X11WindowType { type Err (line 189) | type Err = EnumParseError; method from_str (line 191) | fn from_str(s: &str) -> Result { type Side (line 205) | pub enum Side { type Err (line 214) | type Err = EnumParseError; method from_str (line 216) | fn from_str(s: &str) -> Result { type X11StrutDefinitionExpr (line 228) | pub struct X11StrutDefinitionExpr { method eval (line 234) | fn eval(&self, local_variables: &HashMap) -> Result>(_span: Span, mut iter: AstIterator... type X11StrutDefinition (line 256) | pub struct X11StrutDefinition { FILE: crates/yuck/src/config/file_provider.rs type FilesError (line 6) | pub enum FilesError { type YuckFileProvider (line 14) | pub trait YuckFileProvider { method load_yuck_file (line 15) | fn load_yuck_file(&mut self, path: std::path::PathBuf) -> Result<(Span... method load_yuck_str (line 16) | fn load_yuck_str(&mut self, name: String, content: String) -> Result<(... method unload (line 17) | fn unload(&mut self, id: usize); FILE: crates/yuck/src/config/monitor.rs type MonitorIdentifier (line 12) | pub enum MonitorIdentifier { method from_dynval (line 20) | pub fn from_dynval(val: &DynVal) -> Result { method is_numeric (line 32) | pub fn is_numeric(&self) -> bool { method fmt (line 49) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 60) | type Err = Infallible; method from_str (line 62) | fn from_str(s: &str) -> Result { method from (line 38) | fn from(val: &MonitorIdentifier) -> Self { FILE: crates/yuck/src/config/script_var_definition.rs type ScriptVarDefinition (line 11) | pub enum ScriptVarDefinition { method name_span (line 17) | pub fn name_span(&self) -> Span { method name (line 24) | pub fn name(&self) -> &VarName { method command_span (line 31) | pub fn command_span(&self) -> Option { type VarSource (line 43) | pub enum VarSource { type PollScriptVar (line 51) | pub struct PollScriptVar { constant ELEMENT_NAME (line 61) | const ELEMENT_NAME: &'static str = "defpoll"; method from_tail (line 63) | fn from_tail>(_span: Span, mut iter: AstIterator... type ListenScriptVar (line 90) | pub struct ListenScriptVar { constant ELEMENT_NAME (line 98) | const ELEMENT_NAME: &'static str = "deflisten"; method from_tail (line 100) | fn from_tail>(_span: Span, mut iter: AstIterator... FILE: crates/yuck/src/config/toplevel.rs type Include (line 37) | pub struct Include { constant ELEMENT_NAME (line 43) | const ELEMENT_NAME: &'static str = "include"; method from_tail (line 45) | fn from_tail>(_span: Span, mut iter: AstIterator... type TopLevel (line 52) | pub enum TopLevel { method from_ast (line 61) | fn from_ast(e: Ast) -> DiagResult { type Config (line 88) | pub struct Config { method append_toplevel (line 96) | fn append_toplevel(&mut self, files: &mut impl YuckFileProvider, tople... method generate (line 140) | pub fn generate(files: &mut impl YuckFileProvider, elements: Vec)... method generate_from_main_file (line 153) | pub fn generate_from_main_file(files: &mut impl YuckFileProvider, path... FILE: crates/yuck/src/config/validate.rs type ValidationError (line 9) | pub enum ValidationError { method span (line 26) | fn span(&self) -> Span { function validate (line 35) | pub fn validate(config: &Config, additional_globals: Vec) -> Re... function validate_widget_definition (line 54) | pub fn validate_widget_definition( function validate_variables_in_widget_use (line 67) | pub fn validate_variables_in_widget_use( FILE: crates/yuck/src/config/var_definition.rs type VarDefinition (line 10) | pub struct VarDefinition { constant ELEMENT_NAME (line 17) | const ELEMENT_NAME: &'static str = "defvar"; method from_tail (line 19) | fn from_tail>(span: Span, mut iter: AstIterator<... FILE: crates/yuck/src/config/widget_definition.rs type WidgetDefinition (line 16) | pub struct WidgetDefinition { constant ELEMENT_NAME (line 25) | const ELEMENT_NAME: &'static str = "defwidget"; method from_tail (line 27) | fn from_tail>(span: Span, mut iter: AstIterator<... FILE: crates/yuck/src/config/widget_use.rs type WidgetUse (line 18) | pub enum WidgetUse { type LoopWidgetUse (line 25) | pub struct LoopWidgetUse { type ChildrenWidgetUse (line 34) | pub struct ChildrenWidgetUse { type BasicWidgetUse (line 40) | pub struct BasicWidgetUse { method children_span (line 49) | pub fn children_span(&self) -> Span { method from_iter (line 57) | fn from_iter>( constant ELEMENT_NAME (line 70) | const ELEMENT_NAME: &'static str = "for"; method from_tail (line 72) | fn from_tail>(span: Span, mut iter: AstIterator<... constant ELEMENT_NAME (line 95) | const ELEMENT_NAME: &'static str = "children"; method from_tail (line 97) | fn from_tail>(span: Span, mut iter: AstIterator<... method from_ast (line 106) | fn from_ast(e: Ast) -> DiagResult { function label_from_simplexpr (line 122) | fn label_from_simplexpr(value: SimplExpr, span: Span) -> BasicWidgetUse { FILE: crates/yuck/src/config/window_definition.rs type WindowStackingConversionError (line 25) | pub enum WindowStackingConversionError { type WindowDefinition (line 33) | pub struct WindowDefinition { method eval_monitor (line 47) | pub fn eval_monitor(&self, local_variables: &HashMap)... method eval_resizable (line 55) | pub fn eval_resizable(&self, local_variables: &HashMap>(_span: Span, mut iter: AstIterator... type EnumParseError (line 97) | pub struct EnumParseError { method fmt (line 102) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type WindowStacking (line 131) | pub enum WindowStacking { type Err (line 140) | type Err = EnumParseError; method from_str (line 142) | fn from_str(s: &str) -> Result { FILE: crates/yuck/src/config/window_geometry.rs type AnchorAlignment (line 21) | pub enum AnchorAlignment { method from_x_alignment (line 32) | pub fn from_x_alignment(s: &str) -> Result Result) -> std::fmt::Result { type Err (line 95) | type Err = AnchorPointParseError; method from_str (line 97) | fn from_str(s: &str) -> Result { type AnchorPointParseError (line 87) | pub enum AnchorPointParseError { type CoordsDef (line 114) | pub struct CoordsDef { method eval (line 130) | pub fn eval(&self, local_variables: &HashMap) -> Resu... type Error (line 120) | pub enum Error { function convert_to_num_with_unit (line 138) | fn convert_to_num_with_unit( type WindowGeometryDef (line 150) | pub struct WindowGeometryDef { method eval (line 173) | pub fn eval(&self, local_variables: &HashMap) -> Resu... constant ELEMENT_NAME (line 157) | const ELEMENT_NAME: &'static str = "geometry"; method from_tail (line 159) | fn from_tail>(_span: Span, mut iter: AstIterator... type WindowGeometry (line 186) | pub struct WindowGeometry { method override_if_given (line 193) | pub fn override_if_given(&self, anchor_point: Option, off... method fmt (line 203) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: crates/yuck/src/error.rs type DiagResult (line 10) | pub type DiagResult = Result; type DiagError (line 14) | pub struct DiagError(pub diagnostic::Diagnostic); method from (line 21) | fn from(x: T) -> Self { method note (line 27) | pub fn note(self, note: &str) -> Self { method from_parse_error (line 31) | pub fn from_parse_error( function get_parse_error_span (line 39) | pub fn get_parse_error_span(file_id: usize, err: &lalrpop... type DiagResultExt (line 50) | pub trait DiagResultExt { method note (line 51) | fn note(self, note: &str) -> DiagResult; function note (line 55) | fn note(self, note: &str) -> DiagResult { FILE: crates/yuck/src/format_diagnostic.rs function span_to_primary_label (line 12) | pub fn span_to_primary_label(span: Span) -> Label { function span_to_secondary_label (line 15) | pub fn span_to_secondary_label(span: Span) -> Label { type DiagnosticExt (line 60) | pub trait DiagnosticExt: Sized { method with_label (line 61) | fn with_label(self, label: Label) -> Self; method with_note (line 62) | fn with_note(self, note: String) -> Self; method with_label (line 66) | fn with_label(self, label: Label) -> Self { method with_note (line 70) | fn with_note(self, note: String) -> Self { type ToDiagnostic (line 75) | pub trait ToDiagnostic: std::fmt::Debug { method to_diagnostic (line 76) | fn to_diagnostic(&self) -> Diagnostic; method to_message (line 77) | fn to_message(&self) -> String { method to_diagnostic (line 83) | fn to_diagnostic(&self) -> Diagnostic { method to_diagnostic (line 89) | fn to_diagnostic(&self) -> Diagnostic { method to_diagnostic (line 98) | fn to_diagnostic(&self) -> Diagnostic { method to_diagnostic (line 110) | fn to_diagnostic(&self) -> Diagnostic { method to_diagnostic (line 180) | fn to_diagnostic(&self) -> Diagnostic { method to_diagnostic (line 186) | fn to_diagnostic(&self) -> Diagnostic { method to_diagnostic (line 228) | fn to_diagnostic(&self) -> Diagnostic { function variable_deprecation_note (line 154) | fn variable_deprecation_note(var_name: String) -> Option { function lalrpop_error_to_diagnostic (line 159) | pub fn lalrpop_error_to_diagnostic Diagnostic { FILE: crates/yuck/src/parser/ast.rs type AstType (line 11) | pub enum AstType { method fmt (line 25) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Ast (line 34) | pub enum Ast { method expr_type (line 76) | pub fn expr_type(&self) -> AstType { method as_simplexpr (line 87) | pub fn as_simplexpr(&self) -> Result { method try_ast_iter (line 97) | pub fn try_ast_iter(self) -> Result) -> std::fmt::Result { method fmt (line 119) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method span (line 125) | fn span(&self) -> Span { FILE: crates/yuck/src/parser/ast_iterator.rs type AstIterator (line 12) | pub struct AstIterator> { function expect_literal (line 44) | pub fn expect_literal(&mut self) -> Result<(Span, DynVal), AstError> { function new (line 58) | pub fn new(span: Span, iter: I) -> Self { function expect_any (line 62) | pub fn expect_any(&mut self) -> Result { function expect_simplexpr (line 66) | pub fn expect_simplexpr(&mut self) -> Result<(Span, SimplExpr), AstError> { function expect_done (line 80) | pub fn expect_done(&mut self) -> Result<(), AstError> { function expect_key_values (line 89) | pub fn expect_key_values(&mut self) -> Result { function put_back (line 93) | pub fn put_back(&mut self, ast: Ast) -> Option { type Item (line 100) | type Item = Ast; method next (line 102) | fn next(&mut self) -> Option { function parse_key_values (line 110) | fn parse_key_values( FILE: crates/yuck/src/parser/from_ast.rs type FromAst (line 7) | pub trait FromAst: Sized { method from_ast (line 8) | fn from_ast(e: Ast) -> DiagResult; method from_ast (line 12) | fn from_ast(e: Ast) -> DiagResult { method from_ast (line 18) | fn from_ast(e: Ast) -> DiagResult { method from_ast (line 31) | fn from_ast(e: Ast) -> DiagResult { method from_ast (line 47) | fn from_ast(e: Ast) -> DiagResult { type FromAstElementContent (line 25) | pub trait FromAstElementContent: Sized { constant ELEMENT_NAME (line 26) | const ELEMENT_NAME: &'static str; method from_tail (line 27) | fn from_tail>(span: Span, iter: AstIterator... FILE: crates/yuck/src/parser/lexer.rs type Token (line 8) | pub enum Token { method fmt (line 24) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Lexer (line 70) | pub struct Lexer { method new (line 78) | pub fn new(file_id: usize, source: String) -> Self { method string_lit (line 82) | fn string_lit(&mut self) -> Option Option; method next (line 136) | fn next(&mut self) -> Option { FILE: crates/yuck/src/parser/mod.rs function parse_string (line 21) | pub fn parse_string(file_id: usize, s: &str) -> DiagResult { function parse_toplevel (line 28) | pub fn parse_toplevel(file_id: usize, s: String) -> DiagResult<(Span, Ve... function require_single_toplevel (line 35) | pub fn require_single_toplevel(span: Span, mut asts: Vec) -> DiagRe... function test (line 67) | fn test() { FILE: crates/yuck/src/parser/parse_error.rs type ParseError (line 4) | pub enum ParseError { method span (line 12) | fn span(&self) -> Span { FILE: crates/yuck/src/value/coords.rs type Error (line 8) | pub enum Error { type NumWithUnit (line 18) | pub enum NumWithUnit { method pixels_relative_to (line 29) | pub fn pixels_relative_to(&self, max: i32) -> i32 { method perc_relative_to (line 36) | pub fn perc_relative_to(&self, max: i32) -> f32 { type Err (line 45) | type Err = Error; method from_str (line 47) | fn from_str(s: &str) -> Result { type Coords (line 62) | pub struct Coords { method fmt (line 79) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from_pixels (line 85) | pub fn from_pixels((x, y): (i32, i32)) -> Self { method from_strs (line 90) | pub fn from_strs(x: &str, y: &str) -> Result { method relative_to (line 95) | pub fn relative_to(&self, width: i32, height: i32) -> (i32, i32) { type Err (line 68) | type Err = Error; method from_str (line 70) | fn from_str(s: &str) -> Result { function test_parse_num_with_unit (line 106) | fn test_parse_num_with_unit() { function test_parse_coords (line 115) | fn test_parse_coords() { FILE: docs/theme/book.js function playground_text (line 7) | function playground_text(playground) { function fetch_with_timeout (line 19) | function fetch_with_timeout(url, options, timeout = 6000) { function handle_crate_list_update (line 43) | function handle_crate_list_update(playground_block, playground_crates) { function update_play_button (line 70) | function update_play_button(pre_block, playground_crates) { function run_rust_code (line 100) | function run_rust_code(code_block) { function showThemes (line 285) | function showThemes() { function hideThemes (line 291) | function hideThemes() { function get_theme (line 297) | function get_theme() { function set_theme (line 307) | function set_theme(theme, store = true) { function showSidebar (line 423) | function showSidebar() { function toggleSection (line 437) | function toggleSection(ev) { function hideSidebar (line 445) | function hideSidebar() { function initResize (line 478) | function initResize(e) { function resize (line 483) | function resize(e) { function stopResize (line 496) | function stopResize(e) { function hideTooltip (line 562) | function hideTooltip(elem) { function showTooltip (line 567) | function showTooltip(elem, msg) { FILE: docs/theme/highlight.js function t (line 6) | function t(e){ class i (line 12) | class i{constructor(e){ method constructor (line 12) | constructor(e){ method ignoreMatch (line 14) | ignoreMatch(){this.isMatchIgnored=!0} function r (line 14) | function r(e){ function s (line 16) | function s(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t] class a (line 18) | class a{constructor(e,t){ method constructor (line 18) | constructor(e,t){ method addText (line 19) | addText(e){ method openNode (line 20) | openNode(e){if(!o(e))return;let t=e.kind method closeNode (line 24) | closeNode(e){ method value (line 25) | value(){return this.buffer} method span (line 25) | span(e){ class l (line 26) | class l{constructor(){this.rootNode={ method constructor (line 26) | constructor(){this.rootNode={ method top (line 27) | get top(){ method root (line 28) | get root(){return this.rootNode} method add (line 28) | add(e){ method openNode (line 29) | openNode(e){const t={kind:e,children:[]} method closeNode (line 30) | closeNode(){ method closeAllNodes (line 31) | closeAllNodes(){ method toJSON (line 32) | toJSON(){return JSON.stringify(this.rootNode,null,4)} method walk (line 33) | walk(e){return this.constructor._walk(e,this.rootNode)} method _walk (line 33) | static _walk(e,t){ method _collapse (line 35) | static _collapse(e){ class c (line 37) | class c extends l{constructor(e){super(),this.options=e} method constructor (line 37) | constructor(e){super(),this.options=e} method addKeyword (line 38) | addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNo... method addText (line 39) | addText(e){""!==e&&this.add(e)} method addSublanguage (line 39) | addSublanguage(e,t){const n=e.root method toHTML (line 40) | toHTML(){ method finalize (line 41) | finalize(){return!0} function g (line 41) | function g(e){ function d (line 42) | function d(...e){ function u (line 43) | function u(...e){return"("+((e=>{ function h (line 46) | function h(e){ function p (line 49) | function p(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n function R (line 81) | function R(e,t){ function j (line 82) | function j(e,t){ function A (line 83) | function A(e,t){ function I (line 86) | function I(e,t){ function B (line 87) | function B(e,t){ function T (line 90) | function T(e,t){ function P (line 98) | function P(e,t,n="keyword"){const i=Object.create(null) function C (line 102) | function C(e,t){ function W (line 106) | function W(e,t,{key:n}){let i=0;const r=e[n],s={},o={} function X (line 108) | function X(e){(e=>{ function G (line 121) | function G(e){ function Z (line 167) | function Z(e){ function d (line 174) | function d(e){ function u (line 175) | function u(e,t,n,i){let r="",s="" function h (line 181) | function h(e,n,r,s){ function f (line 244) | function f(e,n){n=n||g.languages||Object.keys(t);const i=(e=>{ function p (line 251) | function p(e){let t=null;const n=(e=>{ function m (line 266) | function m(){ function E (line 268) | function E(e){return e=(e||"").toLowerCase(),t[e]||t[r[e]]} function x (line 269) | function x(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{ function y (line 270) | function y(e){const t=E(e) function w (line 271) | function w(e,t){const n=e;s.forEach((e=>{ function e (line 331) | function e(...e){ function e (line 399) | function e(e){ function n (line 400) | function n(e){return a("(?=",e,")")} function a (line 401) | function a(...n){return n.map((n=>e(n))).join("")} method constructor (line 18) | constructor(e,t){ method addText (line 19) | addText(e){ method openNode (line 20) | openNode(e){if(!o(e))return;let t=e.kind method closeNode (line 24) | closeNode(e){ method value (line 25) | value(){return this.buffer} method span (line 25) | span(e){ function s (line 401) | function s(...n){ function n (line 429) | function n(...n){ function e (line 483) | function e(...e){ function e (line 495) | function e(e){ function n (line 496) | function n(...e){return e.map((e=>{ function e (line 565) | function e(...e){ function o (line 594) | function o(e){return l("(?=",e,")")} function l (line 594) | function l(...e){return e.map((e=>{ method constructor (line 26) | constructor(){this.rootNode={ method top (line 27) | get top(){ method root (line 28) | get root(){return this.rootNode} method add (line 28) | add(e){ method openNode (line 29) | openNode(e){const t={kind:e,children:[]} method closeNode (line 30) | closeNode(){ method closeAllNodes (line 31) | closeAllNodes(){ method toJSON (line 32) | toJSON(){return JSON.stringify(this.rootNode,null,4)} method walk (line 33) | walk(e){return this.constructor._walk(e,this.rootNode)} method _walk (line 33) | static _walk(e,t){ method _collapse (line 35) | static _collapse(e){ FILE: gen-docs.ts type WidgetData (line 1) | interface WidgetData { type Widget (line 7) | interface Widget { type MagicVar (line 15) | interface MagicVar { function parseMagicVariables (line 21) | function parseMagicVariables(data: string) { function parseVars (line 68) | function parseVars(code: string): Record { function replaceTypeNames (line 84) | function replaceTypeNames(type: string) { function parseDocs (line 98) | function parseDocs(code: string) { function printDocs (line 166) | function printDocs(vars: Record, docs: Record