MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::UI::detail::ValidDragSpeedForTargetType Concept Reference

#include <MRViewer/MRUIStyle.h>

Concept definition

template<typename Speed, typename Target>
std::same_as<Speed, typename VectorTraits<Target>::BaseType> || std::same_as<Speed, float> ||
std::same_as<Speed, Target> || std::same_as<Speed, typename VectorTraits<Target>::template ChangeBase<float>>

Detailed Description

Whether Speed is a valid drag speed type for Target. That is, either a single/vector of float or the same type as target (or its element if it's a vector).