Trait puffin::variable_data::VariableData
source · pub trait VariableData: Debug {
fn boxed(&self) -> Box<dyn VariableData>;
fn boxed_any(&self) -> Box<dyn Any>;
fn type_id(&self) -> TypeId;
fn type_name(&self) -> &'static str;
}
Required Methods§
fn boxed(&self) -> Box<dyn VariableData>
fn boxed_any(&self) -> Box<dyn Any>
fn type_id(&self) -> TypeId
fn type_name(&self) -> &'static str
Implementors§
impl<T> VariableData for Twhere
T: Clone + Debug + 'static,
A VariableData is cloneable and has a 'static
type. This data type is used throughout
tlspuffin to handle data of dynamic size.