MCPcopy Create free account
hub / github.com/audulus/rui / background

Method background

src/modifiers.rs:13–15  ·  view source on GitHub ↗

Puts a view behind another. The background view inherits the size of the view.

(self, background: BG)

Source from the content-addressed store, hash-verified

11
12 /// Puts a view behind another. The background view inherits the size of the view.
13 fn background<BG: View + Clone>(self, background: BG) -> Background<Self, BG> {
14 Background::new(self, background)
15 }
16
17 /// Adds a menu command.
18 fn command<F: Fn(&mut Context) + Clone + 'static>(

Callers 3

buttonFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Implementers 1

modifiers.rssrc/modifiers.rs

Calls

no outgoing calls

Tested by

no test coverage detected