pub trait SupportedType {
    fn wrap(&self) -> Type;
}
Expand description

Trait for data types that can be inserted into a Settings.

Implementing this trait for a custom struct will allow this struct to be used with Settings directly.

Implemented Types

  • String
  • bool
  • i32
  • f32
  • Vec
  • HashMap<String,Type>

Required Methods

Function to wrap the type into a Type

Implementations on Foreign Types

Implementors