MCPcopy Create free account
hub / github.com/StrataWM/strata / current_commit

Method current_commit

src/decorations/mod.rs:71–77  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

69 }
70
71 fn current_commit(&self) -> CommitCounter {
72 match self {
73 CustomRenderElements::Texture(elem) => elem.current_commit(),
74 CustomRenderElements::Surface(elem) => elem.current_commit(),
75 CustomRenderElements::Shader(elem) => elem.current_commit(),
76 }
77 }
78
79 fn src(&self) -> Rectangle<f64, Buffer> {
80 match self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected