Files
brk/crates/brk_computer/src/grouped/computed.rs
2025-11-25 15:39:40 +01:00

26 lines
460 B
Rust

use std::ops::{Add, AddAssign, Div};
use vecdb::{Formattable, Pco};
pub trait ComputedVecValue
where
Self: Pco
+ From<usize>
+ Div<usize, Output = Self>
+ Add<Output = Self>
+ AddAssign
+ Ord
+ Formattable,
{
}
impl<T> ComputedVecValue for T where
T: Pco
+ From<usize>
+ Div<usize, Output = Self>
+ Add<Output = Self>
+ AddAssign
+ Ord
+ Formattable
{
}