Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

NegateHelper

A helper trait for negating a BoundedInt instance.

Fully qualified path: core::internal::bounded_int::NegateHelper

pub trait NegateHelper<T>

Trait functions

negate

Negates the given value.

Fully qualified path: core::internal::bounded_int::NegateHelper::negate

fn negate(self: T) -> NegateHelper<T>Result

Trait types

Result

The result of negating the given value.

Fully qualified path: core::internal::bounded_int::NegateHelper::Result

type Result;