pub trait VectorTranscendental<T, const N: usize>: Vector<T, N>where
T: Transcendental,{
// Required methods
fn sqrt(&self) -> Self;
fn exp(&self) -> Self;
fn ln(&self) -> Self;
fn sin(&self) -> Self;
fn cos(&self) -> Self;
fn tan(&self) -> Self;
}Expand description
Трейт для векторных типов с трансцендентными операциями.
Доступен только для T: Transcendental (f32, f64).
Required Methods§
fn sqrt(&self) -> Self
fn exp(&self) -> Self
fn ln(&self) -> Self
fn sin(&self) -> Self
fn cos(&self) -> Self
fn tan(&self) -> Self
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.