MCPcopy Create free account
hub / github.com/MagmaWM/MagmaWM / current_commit

Method current_commit

src/utils/render/mod.rs:65–72  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

63 }
64
65 fn current_commit(&self) -> CommitCounter {
66 match self {
67 CustomRenderElements::Texture(elem) => elem.current_commit(),
68 CustomRenderElements::Surface(elem) => elem.current_commit(),
69 CustomRenderElements::Shader(elem) => elem.current_commit(),
70 CustomRenderElements::Window(elem) => elem.current_commit(),
71 }
72 }
73
74 fn src(&self) -> Rectangle<f64, Buffer> {
75 match self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected