impl EguiHelper const

This commit is contained in:
Simon Gardling 2022-05-22 19:28:07 -04:00
parent 9abc2c6401
commit 27a1844e08

View File

@ -159,7 +159,7 @@ pub trait EguiHelper {
fn to_tuple(self) -> Vec<(f64, f64)>;
}
impl EguiHelper for Vec<Value> {
impl const EguiHelper for Vec<Value> {
#[inline(always)]
fn to_values(self) -> Values { Values::from_values(self) }