Macro mz_ore::cast::try_cast_from

source ·
macro_rules! try_cast_from {
    ($from:ty, $to:ty) => { ... };
}
Expand description

Implement TryCastFrom for the specified types. This is only necessary for types for which as exists, but TryFrom doesn’t (notably floats).