Skip to main content

NegByRef

Trait NegByRef 

Source
pub trait NegByRef {
    type Output;

    // Required method
    fn neg_by_ref(&self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn neg_by_ref(&self) -> Self::Output

Implementors§

Source§

impl<T, Output> NegByRef for T
where for<'a> &'a T: Neg<Output = Output>,

Source§

type Output = Output