SortExt

Trait SortExt 

Source
pub trait SortExt {
    // Required methods
    fn from_desc_bool(desc: bool) -> Sort;
    fn from_mysql_str(s: &str) -> Option<Sort>;
    fn from_str(s: &str) -> Option<Sort>;
    fn to_str(&self) -> &'static str;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SortExt for Sort

Implementors§