1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/* Appellation: unary <mod> Contrib: FL03 <jo3mccain@icloud.com> */ //! # Unary Operations //! //! pub use self::{kinds::*, operator::*, specs::*}; pub(crate) mod kinds; pub(crate) mod operator; pub(crate) mod specs; pub trait ApplyUnary<T> { type Output; fn apply(&self, x: T) -> Self::Output; fn apply_once(self, x: T) -> Self::Output; }