Skip to main content

OrdExt

Trait OrdExt 

Source
pub trait OrdExt<T>
where T: Ord + Clone,
{ // Required method fn update_max(&mut self, new: &Self); }

Required Methods§

Source

fn update_max(&mut self, new: &Self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> OrdExt<T> for T
where T: Ord + Clone,