Trait Neg

Source
pub unsafe trait Neg: Neg { }
Expand description

This trait is empty declaration of ::core::ops::Neg to be used with newer_type::implement.

§Example

#[implement(newer_type_std::ops::Neg)]
struct MyStruct {
    slot: isize
}

§Safety

should be implemented by newer_type::implement

Implementors§