Trait polkadot_service::runtime_traits::One [−][src]
pub trait One: Mul<Self, Output = Self> {
fn one() -> Self;
fn set_one(&mut self) { ... }
fn is_one(&self) -> bool
where
Self: PartialEq<Self>,
{ ... }
}
Expand description
Required methods
Provided methods
Implementations on Foreign Types
impl<T, R, const D: usize> One for Similarity<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
impl<T, R, const D: usize> One for Similarity<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
Creates a new identity similarity.