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

Method new

src/binding.rs:56–63  ·  view source on GitHub ↗
(binding: B, lens: L)

Source from the content-addressed store, hash-verified

54 T: 'static,
55{
56 pub fn new(binding: B, lens: L) -> Self {
57 Self {
58 binding,
59 lens,
60 phantom_s: Default::default(),
61 phantom_t: Default::default(),
62 }
63 }
64}
65
66pub fn bind<S, T>(binding: impl Binding<S>, lens: impl Lens<S, T>) -> impl Binding<T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected