Trait spacetimedb_sats::de::ValidNames
source · pub trait ValidNames {
// Required method
fn push(&mut self, s: &str);
// Provided method
fn run(self, names: &impl Fn(&mut dyn ValidNames)) -> Self
where Self: Sized { ... }
}
Expand description
A trait for types storing a set of valid names.
Required Methods§
Provided Methods§
sourcefn run(self, names: &impl Fn(&mut dyn ValidNames)) -> Selfwhere
Self: Sized,
fn run(self, names: &impl Fn(&mut dyn ValidNames)) -> Selfwhere
Self: Sized,
Runs the function names
provided with self
as the store
and then returns back self
.
This method exists for convenience.