# [−][src]Module len_constraints::type_math

The `TypeNum`

and `Operator`

traits which can be used as type arguments as well as some
predefined numbers and operators.

## Structs

Add | An operator representing an addition |

Div | An operator representing a division |

Mul | An operator representing a multiplication |

Sub | An operator representing a subtraction |

_0 | A type representing a number that can be used as a generic type argument |

_1 | A type representing a number that can be used as a generic type argument |

_2 | A type representing a number that can be used as a generic type argument |

_4 | A type representing a number that can be used as a generic type argument |

_8 | A type representing a number that can be used as a generic type argument |

_12 | A type representing a number that can be used as a generic type argument |

_16 | A type representing a number that can be used as a generic type argument |

_24 | A type representing a number that can be used as a generic type argument |

_32 | A type representing a number that can be used as a generic type argument |

_48 | A type representing a number that can be used as a generic type argument |

_64 | A type representing a number that can be used as a generic type argument |

_96 | A type representing a number that can be used as a generic type argument |

_128 | A type representing a number that can be used as a generic type argument |

_256 | A type representing a number that can be used as a generic type argument |

_384 | A type representing a number that can be used as a generic type argument |

_512 | A type representing a number that can be used as a generic type argument |

_1024 | A type representing a number that can be used as a generic type argument |

_2048 | A type representing a number that can be used as a generic type argument |

_4096 | A type representing a number that can be used as a generic type argument |

_8192 | A type representing a number that can be used as a generic type argument |

_16384 | A type representing a number that can be used as a generic type argument |

_32768 | A type representing a number that can be used as a generic type argument |

_65536 | A type representing a number that can be used as a generic type argument |

## Traits

Operator | A type representing an operator that can be used as a generic type argument |

TypeNum | A type representing a number that can be used as a generic type argument |