pub trait Variable {
    const TYPE: VariableType;
}
Expand description

Used to determine the type of a given variable that appears in an argument struct.

Required Associated Constants§

Source

const TYPE: VariableType

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Variable for Value

Source§

const TYPE: VariableType

Source§

impl Variable for bool

Source§

const TYPE: VariableType

Source§

impl Variable for f64

Source§

const TYPE: VariableType

Source§

impl Variable for i32

Source§

const TYPE: VariableType

Source§

impl Variable for str

Source§

const TYPE: VariableType

Source§

impl Variable for String

Source§

const TYPE: VariableType = <str as Variable>::TYPE

Source§

impl Variable for Id

Source§

const TYPE: VariableType

Source§

impl<T> Variable for Cow<'_, T>
where T: ?Sized + Variable + ToOwned,

Source§

const TYPE: VariableType = T::TYPE

Source§

impl<T> Variable for Option<T>
where T: Variable,

Source§

const TYPE: VariableType

Source§

impl<T> Variable for &T
where T: ?Sized + Variable,

Source§

const TYPE: VariableType = T::TYPE

Source§

impl<T> Variable for [T]
where T: Variable,

Source§

const TYPE: VariableType

Source§

impl<T> Variable for Box<T>
where T: Variable,

Source§

const TYPE: VariableType = T::TYPE

Source§

impl<T> Variable for Rc<T>
where T: Variable,

Source§

const TYPE: VariableType = T::TYPE

Source§

impl<T> Variable for Arc<T>
where T: Variable,

Source§

const TYPE: VariableType = T::TYPE

Source§

impl<T> Variable for Vec<T>
where T: Variable,

Source§

const TYPE: VariableType

Implementors§

Source§

impl Variable for DataType

Source§

const TYPE: VariableType

Source§

impl Variable for Mutability

Source§

const TYPE: VariableType

Source§

impl Variable for SocketType

Source§

const TYPE: VariableType

Source§

impl Variable for EntityInstanceDefinition

Source§

const TYPE: VariableType

Source§

impl Variable for PropertyInstanceDefinition

Source§

const TYPE: VariableType

Source§

impl Variable for UUID

Source§

const TYPE: VariableType

Source§

impl Variable for Json

Source§

const TYPE: VariableType

Source§

impl Variable for ComponentTypeId

Source§

const TYPE: VariableType

Source§

impl Variable for EntityTypeId

Source§

const TYPE: VariableType

Source§

impl Variable for ExtensionDefinition

Source§

const TYPE: VariableType

Source§

impl Variable for ExtensionTypeId

Source§

const TYPE: VariableType

Source§

impl Variable for FlowTypeId

Source§

const TYPE: VariableType

Source§

impl Variable for PropertyTypeDefinition

Source§

const TYPE: VariableType

Source§

impl Variable for RelationTypeId

Source§

const TYPE: VariableType