Skip to main content

impl_inferbase_integer

Macro impl_inferbase_integer 

Source
macro_rules! impl_inferbase_integer {
    ($ty:ty) => { ... };
    ({$($gen:tt)*} $ty:ty {$($whr:tt)*}) => { ... };
}
Expand description

Implement InferBase for an integer ALTREP data type.

Accepts an optional generic form: impl_inferbase_integer!({T} Foo<T> {T: Bound}) — see crate::impl_altinteger_from_data_generic! for the same convention at the family-macro layer.