MCPcopy Index your code

hub / github.com/danieldg/rwaybar / functions

Functions265 in github.com/danieldg/rwaybar

↓ 103 callersMethodinto
(self)
src/data.rs:151
↓ 92 callersMethodtake_in
(&self, f : F)
src/util.rs:81
↓ 71 callersMethodset
(&self, mouse : &WlPointer, serial : u32)
src/render.rs:100
↓ 70 callersMethodas_ref
(&'a self)
src/font.rs:36
↓ 49 callersMethodpush
(&self, item : Box<Item>)
src/pulse_tokio.rs:382
↓ 33 callersMethodnotify_data
(&self, who : &str)
src/state.rs:42
↓ 22 callersMethodwith
(this : &Cell<Self>, rt : &Runtime, f : F)
src/data.rs:192
↓ 17 callersMethodadd
Add the currently-rendering bar to this list The next call to notify_data will redraw the bar that was rendering when this was called.
src/state.rs:71
↓ 16 callersMethodformat_or
(&'a self, fmt : &'a str, context : &str)
src/state.rs:153
↓ 16 callersMethodinto_text
(self)
src/data.rs:72
↓ 15 callersMethodadd_click
(&mut self, value : Option<&toml::Value>, buttons : u32)
src/event.rs:49
↓ 15 callersMethodparse
(value : &mut json::JsonValue)
src/sway.rs:556
↓ 13 callersFunctiontoml_to_string
(value : Option<&toml::Value>)
src/util.rs:10
↓ 12 callersMethodsend
(id : u32, msg : &[u8], callback : F)
src/sway.rs:161
↓ 11 callersMethodrender
(self : &Rc<Self>, parent_ctx : &mut Render)
src/item.rs:374
↓ 11 callersFunctionspawn_noerr
(fut : impl Future<Output=()> + 'static)
src/util.rs:121
↓ 10 callersMethodformat
(&'a self, fmt : &'a str)
src/state.rs:116
↓ 10 callersMethodis_none
(&self)
src/data.rs:849
↓ 10 callersMethodmerge
(&mut self, other: &Self)
src/state.rs:75
↓ 10 callersFunctionspawn
(owner : &'static str, fut : impl Future<Output=Result<(), Box<dyn Error>>> + 'static)
src/util.rs:125
↓ 9 callersMethodas_bool
(&self)
src/data.rs:120
↓ 9 callersMethodconnection
(&self)
src/dbus.rs:66
↓ 8 callersMethodoffset_clamp
(&mut self, offset : f32, min : f32, max : f32)
src/event.rs:89
↓ 8 callersMethodrender_clamped_item
(self : &Rc<Self>, ctx : &mut Render, ev : &mut EventSink, item : &IterationItem)
src/item.rs:559
↓ 7 callersMethodread_to_owned
Read the value of a variable This is identical to read_in, but returns a Value instead of using a callback closure.
src/data.rs:897
↓ 7 callersFunctionspawn_handle
(owner : &'static str, fut : impl Future<Output=Result<(), Box<dyn Error>>> + 'static)
src/util.rs:136
↓ 6 callersMethodas_ref
(&self)
src/data.rs:44
↓ 6 callersMethodget_item_var
(&self)
src/state.rs:167
↓ 6 callersMethodtake_in_some
(&self, f : F)
src/util.rs:90
↓ 5 callersFunctionread_in
(_name : &str, item: &TrayItem, key : &str, rt : &Runtime, f : F)
src/tray.rs:917
↓ 5 callersMethodwake
(main : &Weak<MainInner>)
src/pulse_tokio.rs:388
↓ 5 callersMethodwake_real
(&self)
src/pulse_tokio.rs:393
↓ 5 callersFunctionwrite
(name : &str, item: &TrayItem, key : &str, value : Value, rt : &Runtime)
src/tray.rs:937
↓ 4 callersMethodadd_signal_watcher
(&self, f : F)
src/dbus.rs:195
↓ 4 callersMethodadd_tooltip
(&mut self, desc : PopupDesc)
src/event.rs:74
↓ 4 callersMethodbutton
(&mut self, x : f64, y : f64, button : u32, _runtime : &mut Runtime)
src/tray.rs:858
↓ 4 callersMethodcopy_item_var
(&self)
src/state.rs:163
↓ 4 callersMethodinterest
(&self, rt : &Runtime)
src/sway.rs:216
↓ 4 callersMethodparse_f32
(&self)
src/data.rs:83
↓ 4 callersFunctionrender_font
(ctx: &mut Render, start: (f32, f32), text: &str, markup: bool)
src/font.rs:229
↓ 4 callersFunctionset_seat_offer
(seat: &WlSeat, contents: Option<ZwlrDataControlOfferV1>, selection: bool)
src/wlr.rs:109
↓ 3 callersMethodadd_property_change_watcher
(&self, f : F)
src/dbus.rs:210
↓ 3 callersMethoddata
(&self)
src/data.rs:250
↓ 3 callersFunctiondraw_font_with
(target : &mut PixmapMut, xform: Transform, to_draw : &[CGlyph], mut draw : impl FnMut(&mut PixmapMut, &tiny_s
src/font.rs:165
↓ 3 callersMethodflush
(&mut self)
src/wayland.rs:122
↓ 3 callersMethodinit
One-time setup, if needed
src/data.rs:854
↓ 3 callersMethodinto_owned
(self)
src/data.rs:62
↓ 3 callersMethodparse_f64
(&self)
src/data.rs:94
↓ 3 callersMethodpopup_button
(&mut self, x : f64, y : f64, button : u32, runtime : &mut Runtime)
src/bar.rs:312
↓ 3 callersMethodproxy
(&self)
src/tray.rs:738
↓ 3 callersMethodrender_inner
Render the block contents to the given context. Your item starts at the context's current point. When you are done rendering, you should adjust the
src/item.rs:584
↓ 3 callersMethodrequest_draw
(&mut self)
src/state.rs:364
↓ 3 callersMethodsend
(&self, msg : zbus::Message)
src/dbus.rs:191
↓ 3 callersMethodset_item
(&mut self, item : &IterationItem)
src/event.rs:78
↓ 3 callersFunctiontoml_to_f64
(value : Option<&toml::Value>)
src/util.rs:24
↓ 2 callersMethod_read_refresh
(&self, rt : &Runtime, mut do_read : F)
src/data.rs:284
↓ 2 callersMethodadd_client
(&self, item : ListResult<&ClientInfo>)
src/pulse.rs:297
↓ 2 callersMethodadd_name_watcher
(&self, f : F)
src/dbus.rs:228
↓ 2 callersMethodadd_sink
(&self, item : ListResult<&SinkInfo>)
src/pulse.rs:239
↓ 2 callersMethodadd_sink_input
(&self, item : ListResult<&SinkInputInfo>)
src/pulse.rs:317
↓ 2 callersMethodadd_source
(&self, item : ListResult<&SourceInfo>)
src/pulse.rs:268
↓ 2 callersMethodadd_source_output
(&self, item : ListResult<&SourceOutputInfo>)
src/pulse.rs:343
↓ 2 callersMethodas_raw_fd
(&self)
src/dbus.rs:304
↓ 2 callersMethoddata_update_seq
(&self)
src/state.rs:64
↓ 2 callersFunctiondo_add_item
(is_kde : bool, item : String)
src/tray.rs:425
↓ 2 callersMethoddo_add_signal_watcher
(&self, b : Box<dyn SignalWatcherCall>)
src/dbus.rs:205
↓ 2 callersMethoddo_call
(self : Rc<Self>)
src/dbus.rs:482
↓ 2 callersMethoddo_send_msg
(&mut self, id : u32, msg : &[u8], mut on_reply : F)
src/sway.rs:127
↓ 2 callersFunctiondo_write
(_name : &str, target : &str, mut key : &str, value : Value, _rt : &Runtime)
src/pulse.rs:557
↓ 2 callersMethodfind_best_mime
(&self, data: &OfferData)
src/wlr.rs:155
↓ 2 callersMethodfor_active_regions
(&self, mut f : impl FnMut(f32, f32))
src/event.rs:155
↓ 2 callersMethodhandle_update
(&self, props : &HashMap<&str, OwnedValue>)
src/tray.rs:534
↓ 2 callersFunctioninit_snw
(is_kde : bool)
src/tray.rs:305
↓ 2 callersFunctioninitial_query
(target : Rc<MediaPlayer2>, bus_name : BusName<'static>)
src/mpris.rs:166
↓ 2 callersMethodinto_inner
(self)
src/util.rs:75
↓ 2 callersMethodinvoke
(&self, runtime : &Runtime, how : u32)
src/event.rs:219
↓ 2 callersMethodkill
(&mut self)
src/pulse_tokio.rs:69
↓ 2 callersFunctionlayout_font
( font: &'a FontMapped, size_pt: f32, runtime : &'a Runtime, rgba : Color, text : &str,
src/font.rs:54
↓ 2 callersMethodload_config
(&mut self, reload : bool)
src/state.rs:274
↓ 2 callersMethodnew_popup_on
(&self, ls_surf : &ZwlrLayerSurfaceV1, prefer_top : bool, anchor : (i32, i32, i32, i32), size : (i32, i32), sc
src/wayland.rs:289
↓ 2 callersMethodno_hover
(&mut self, runtime : &mut Runtime)
src/bar.rs:293
↓ 2 callersMethodoutput_ready
(&mut self, output : &WlOutput, data : &OutputInfo)
src/state.rs:396
↓ 2 callersFunctionread_focus_list
(rt : &Runtime, mut f : F)
src/mpris.rs:383
↓ 2 callersMethodread_refresh
Read periodically using the given closure. If the closure returns `Some(reason)`, an update will happen; otherwise, the closure will continue to be p
src/data.rs:258
↓ 2 callersMethodrefresh
(self : Rc<Self>)
src/tray.rs:742
↓ 2 callersMethodreinspect
(self : &Rc<Self>)
src/tray.rs:504
↓ 2 callersFunctionrender
(ctx : &mut Render, name : &str)
src/icon.rs:173
↓ 2 callersMethodrender_be_rgba
(&mut self, size : (i32, i32), target : &WlSurface)
src/render.rs:47
↓ 2 callersMethodrender_popup
(&mut self, runtime : &Runtime, target : &mut tiny_skia::PixmapMut, scale: i32)
src/item.rs:891
↓ 2 callersMethodrun
Run the mainloop until a quit is requested through the pulse API
src/pulse_tokio.rs:364
↓ 2 callersMethodscale_from_pt
(&self, pt : f32)
src/font.rs:40
↓ 2 callersMethodset_data
(&mut self)
src/state.rs:368
↓ 2 callersMethodstart_read
(&self, contents: &ZwlrDataControlOfferV1, offer: &mut OfferType)
src/wlr.rs:173
↓ 2 callersMethodtick
Run callbacks and register wakers for the pulse mainloop. This returns Ready if a callback was invoked, or Pending if everything is waiting on timers
src/pulse_tokio.rs:208
↓ 2 callersMethodwith_target
(&self, target : &str, f : F)
src/pulse.rs:369
↓ 1 callersMethodadd_hover
(&mut self, min : f32, max : f32, desc : PopupDesc)
src/event.rs:141
↓ 1 callersMethodadd_output_listener
(&mut self, f : F)
src/wayland.rs:114
↓ 1 callersMethodadd_remove_match
(&self, dbus : &DBus, method : &str)
src/tray.rs:761
↓ 1 callersMethodas_ref
(&self)
src/icon.rs:17
↓ 1 callersMethodas_str_fast
(&self)
src/data.rs:54
next →1–100 of 265, ranked by callers