MCPcopy Index your code
hub / github.com/encounter/objdiff / create_toasts

Function create_toasts

objdiff-gui/src/app.rs:192–202  ·  view source on GitHub ↗
(anchor: egui_notify::Anchor)

Source from the content-addressed store, hash-verified

190}
191
192pub fn create_toasts(anchor: egui_notify::Anchor) -> egui_notify::Toasts {
193 egui_notify::Toasts::default()
194 .with_anchor(anchor)
195 .with_margin(egui::vec2(10.0, 32.0))
196 .with_shadow(egui::Shadow {
197 offset: [0, 0],
198 blur: 0,
199 spread: 1,
200 color: egui::Color32::GRAY,
201 })
202}
203
204#[derive(Clone, serde::Deserialize, serde::Serialize)]
205pub struct AppConfig {

Callers 1

defaultMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected