Expand description
Rust trait for constant #[repr(T)] conversions.
Modules§
- cmp
cmpConstant partial order on inherent representations- float
floatConstant float operations on inherent representations- inherent
inherentDefine an inherent representation- int
intConstant integer operations on inherent representations- num
numConstant numeric operations on inherent representations- ops
opsConstant arithmetic operations on inherent representations
Traits§
Functions§
- as_repr
- Convert a type implementing
AsReprtoT. - as_
repr_ ref - Convert a reference to type implementing
AsReprto&T. - as_
repr_ slice - Convert a slice of a type implementing
AsReprto&[T].