Trait livemod::LiveModCtor [−][src]
pub trait LiveModCtor: LiveMod {
fn repr_static() -> Namespaced<Repr>;
fn from_value(value: Parameter<Value>) -> Option<Self>
where
Self: Sized;
}
Expand description
Data which provides extra guarantees about its representation.
Types implementing LiveModCtor
must have a sane representation which doesn’t depend on its current value. Additionally,
It must be possible to construct it directly from the LiveMod message format.