Trait option_operations::OptionOperations

source ·
pub trait OptionOperations { }
Expand description

Trait for inner types participating in option-operations.

The purpose of this trait is twofold:

  • Auto-implement various Option* traits such as OptionOrd.
  • Prevent some conflicting auto-implementation of traits on Option<T>.

Implementations on Foreign Types§

source§

impl OptionOperations for f32

source§

impl OptionOperations for f64

source§

impl OptionOperations for i8

source§

impl OptionOperations for i16

source§

impl OptionOperations for i32

source§

impl OptionOperations for i64

source§

impl OptionOperations for i128

source§

impl OptionOperations for u8

source§

impl OptionOperations for u16

source§

impl OptionOperations for u32

source§

impl OptionOperations for u64

source§

impl OptionOperations for u128

source§

impl OptionOperations for Duration

source§

impl OptionOperations for Instant

source§

impl OptionOperations for SystemTime

source§

impl<T: OptionOperations> OptionOperations for &T

source§

impl<T: OptionOperations> OptionOperations for &mut T

Implementors§