pub enum Sortable {
Strings(Vec<String>),
Numbers(Vec<f64>),
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sortable
impl<'de> Deserialize<'de> for Sortable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromWasmAbi for Sortablewhere
Self: DeserializeOwned,
impl FromWasmAbi for Sortablewhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for Sortablewhere
Self: Serialize,
impl IntoWasmAbi for Sortablewhere
Self: Serialize,
Source§impl OptionFromWasmAbi for Sortablewhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for Sortablewhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for Sortablewhere
Self: Serialize,
impl OptionIntoWasmAbi for Sortablewhere
Self: Serialize,
Auto Trait Implementations§
impl Freeze for Sortable
impl RefUnwindSafe for Sortable
impl Send for Sortable
impl Sync for Sortable
impl Unpin for Sortable
impl UnwindSafe for Sortable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.