pub struct Expand<T, const D: usize>(/* private fields */)
where
T: DilatableType;Expand description
A DilationMethod implementation which provides expanding dilation meta information
This trait implementation describes the types involved with an expanding dilation as well as some useful constants and wrapper methods which actually perform the dilations.
Although this trait implementation provides the functions for performing dilations, users should generally prefer to dilate via the DilateExpand trait and its dilate_expand() method, which is generally less verbose and therefore more user friendly.
§Examples
use dilate::*;
assert_eq!(Expand::<u8, 2>::UNDILATED_MAX, 255);
assert_eq!(Expand::<u8, 2>::UNDILATED_BITS, 8);
assert_eq!(Expand::<u8, 2>::DILATED_MAX, 0b0101010101010101);
assert_eq!(Expand::<u8, 2>::DILATED_BITS, 16);
let original: u8 = 0b1101;
let dilated = Expand::<u8, 2>::dilate(original);
assert_eq!(dilated.value(), 0b01010001);
assert_eq!(dilated, DilatedInt::<Expand<u8, 2>>::new(0b01010001));
assert_eq!(Expand::<u8, 2>::undilate(dilated), original);For more detailed information, see dilate_expand()
Trait Implementations§
Source§impl DilationMethod for Expand<u16, 2>
impl DilationMethod for Expand<u16, 2>
Source§const UNDILATED_BITS: usize = 16usize
const UNDILATED_BITS: usize = 16usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 2> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 2> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 32usize
const DILATED_BITS: usize = 32usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x55555555): <expand::Expand<u16, 2> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x55555555): <expand::Expand<u16, 2> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0xffffffff): <expand::Expand<u16, 2> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0xffffffff): <expand::Expand<u16, 2> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u16, 3>
impl DilationMethod for Expand<u16, 3>
Source§const UNDILATED_BITS: usize = 16usize
const UNDILATED_BITS: usize = 16usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 3> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 3> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 48usize
const DILATED_BITS: usize = 48usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x0000249249249249): <expand::Expand<u16, 3> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x0000249249249249): <expand::Expand<u16, 3> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x0000ffffffffffff): <expand::Expand<u16, 3> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x0000ffffffffffff): <expand::Expand<u16, 3> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u16, 4>
impl DilationMethod for Expand<u16, 4>
Source§const UNDILATED_BITS: usize = 16usize
const UNDILATED_BITS: usize = 16usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 4> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 4> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 64usize
const DILATED_BITS: usize = 64usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x1111111111111111): <expand::Expand<u16, 4> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x1111111111111111): <expand::Expand<u16, 4> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffff): <expand::Expand<u16, 4> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffff): <expand::Expand<u16, 4> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u16, 5>
impl DilationMethod for Expand<u16, 5>
Source§const UNDILATED_BITS: usize = 16usize
const UNDILATED_BITS: usize = 16usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 5> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 5> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 80usize
const DILATED_BITS: usize = 80usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00000000000008421084210842108421): <expand::Expand<u16, 5> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00000000000008421084210842108421): <expand::Expand<u16, 5> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x000000000000ffffffffffffffffffff): <expand::Expand<u16, 5> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x000000000000ffffffffffffffffffff): <expand::Expand<u16, 5> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u16, 6>
impl DilationMethod for Expand<u16, 6>
Source§const UNDILATED_BITS: usize = 16usize
const UNDILATED_BITS: usize = 16usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 6> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 6> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 96usize
const DILATED_BITS: usize = 96usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00000000041041041041041041041041): <expand::Expand<u16, 6> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00000000041041041041041041041041): <expand::Expand<u16, 6> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x00000000ffffffffffffffffffffffff): <expand::Expand<u16, 6> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x00000000ffffffffffffffffffffffff): <expand::Expand<u16, 6> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u16, 7>
impl DilationMethod for Expand<u16, 7>
Source§const UNDILATED_BITS: usize = 16usize
const UNDILATED_BITS: usize = 16usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 7> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 7> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 112usize
const DILATED_BITS: usize = 112usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00000204081020408102040810204081): <expand::Expand<u16, 7> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00000204081020408102040810204081): <expand::Expand<u16, 7> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x0000ffffffffffffffffffffffffffff): <expand::Expand<u16, 7> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x0000ffffffffffffffffffffffffffff): <expand::Expand<u16, 7> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u16, 8>
impl DilationMethod for Expand<u16, 8>
Source§const UNDILATED_BITS: usize = 16usize
const UNDILATED_BITS: usize = 16usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 8> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xffff): <expand::Expand<u16, 8> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 128usize
const DILATED_BITS: usize = 128usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x01010101010101010101010101010101): <expand::Expand<u16, 8> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x01010101010101010101010101010101): <expand::Expand<u16, 8> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffffffffffffffffffff): <expand::Expand<u16, 8> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffffffffffffffffffff): <expand::Expand<u16, 8> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u32, 2>
impl DilationMethod for Expand<u32, 2>
Source§const UNDILATED_BITS: usize = 32usize
const UNDILATED_BITS: usize = 32usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xffffffff): <expand::Expand<u32, 2> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xffffffff): <expand::Expand<u32, 2> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 64usize
const DILATED_BITS: usize = 64usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x5555555555555555): <expand::Expand<u32, 2> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x5555555555555555): <expand::Expand<u32, 2> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffff): <expand::Expand<u32, 2> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffff): <expand::Expand<u32, 2> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u32, 3>
impl DilationMethod for Expand<u32, 3>
Source§const UNDILATED_BITS: usize = 32usize
const UNDILATED_BITS: usize = 32usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xffffffff): <expand::Expand<u32, 3> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xffffffff): <expand::Expand<u32, 3> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 96usize
const DILATED_BITS: usize = 96usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00000000249249249249249249249249): <expand::Expand<u32, 3> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00000000249249249249249249249249): <expand::Expand<u32, 3> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x00000000ffffffffffffffffffffffff): <expand::Expand<u32, 3> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x00000000ffffffffffffffffffffffff): <expand::Expand<u32, 3> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u32, 4>
impl DilationMethod for Expand<u32, 4>
Source§const UNDILATED_BITS: usize = 32usize
const UNDILATED_BITS: usize = 32usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xffffffff): <expand::Expand<u32, 4> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xffffffff): <expand::Expand<u32, 4> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 128usize
const DILATED_BITS: usize = 128usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x11111111111111111111111111111111): <expand::Expand<u32, 4> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x11111111111111111111111111111111): <expand::Expand<u32, 4> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffffffffffffffffffff): <expand::Expand<u32, 4> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffffffffffffffffffff): <expand::Expand<u32, 4> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u64, 2>
impl DilationMethod for Expand<u64, 2>
Source§const UNDILATED_BITS: usize = 64usize
const UNDILATED_BITS: usize = 64usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xffffffffffffffff): <expand::Expand<u64, 2> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xffffffffffffffff): <expand::Expand<u64, 2> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 128usize
const DILATED_BITS: usize = 128usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x55555555555555555555555555555555): <expand::Expand<u64, 2> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x55555555555555555555555555555555): <expand::Expand<u64, 2> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffffffffffffffffffff): <expand::Expand<u64, 2> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffffffffffffffffffff): <expand::Expand<u64, 2> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 10>
impl DilationMethod for Expand<u8, 10>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 10> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 10> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 80usize
const DILATED_BITS: usize = 80usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00000000000000401004010040100401): <expand::Expand<u8, 10> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00000000000000401004010040100401): <expand::Expand<u8, 10> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x000000000000ffffffffffffffffffff): <expand::Expand<u8, 10> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x000000000000ffffffffffffffffffff): <expand::Expand<u8, 10> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 11>
impl DilationMethod for Expand<u8, 11>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 11> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 11> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 88usize
const DILATED_BITS: usize = 88usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00000000000020040080100200400801): <expand::Expand<u8, 11> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00000000000020040080100200400801): <expand::Expand<u8, 11> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x0000000000ffffffffffffffffffffff): <expand::Expand<u8, 11> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x0000000000ffffffffffffffffffffff): <expand::Expand<u8, 11> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 12>
impl DilationMethod for Expand<u8, 12>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 12> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 12> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 96usize
const DILATED_BITS: usize = 96usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00000000001001001001001001001001): <expand::Expand<u8, 12> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00000000001001001001001001001001): <expand::Expand<u8, 12> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x00000000ffffffffffffffffffffffff): <expand::Expand<u8, 12> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x00000000ffffffffffffffffffffffff): <expand::Expand<u8, 12> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 13>
impl DilationMethod for Expand<u8, 13>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 13> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 13> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 104usize
const DILATED_BITS: usize = 104usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00000000080040020010008004002001): <expand::Expand<u8, 13> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00000000080040020010008004002001): <expand::Expand<u8, 13> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x000000ffffffffffffffffffffffffff): <expand::Expand<u8, 13> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x000000ffffffffffffffffffffffffff): <expand::Expand<u8, 13> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 14>
impl DilationMethod for Expand<u8, 14>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 14> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 14> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 112usize
const DILATED_BITS: usize = 112usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00000004001000400100040010004001): <expand::Expand<u8, 14> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00000004001000400100040010004001): <expand::Expand<u8, 14> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x0000ffffffffffffffffffffffffffff): <expand::Expand<u8, 14> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x0000ffffffffffffffffffffffffffff): <expand::Expand<u8, 14> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 15>
impl DilationMethod for Expand<u8, 15>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 15> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 15> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 120usize
const DILATED_BITS: usize = 120usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00000200040008001000200040008001): <expand::Expand<u8, 15> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00000200040008001000200040008001): <expand::Expand<u8, 15> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x00ffffffffffffffffffffffffffffff): <expand::Expand<u8, 15> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x00ffffffffffffffffffffffffffffff): <expand::Expand<u8, 15> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 16>
impl DilationMethod for Expand<u8, 16>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 16> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 16> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 128usize
const DILATED_BITS: usize = 128usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00010001000100010001000100010001): <expand::Expand<u8, 16> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00010001000100010001000100010001): <expand::Expand<u8, 16> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffffffffffffffffffff): <expand::Expand<u8, 16> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffffffffffffffffffff): <expand::Expand<u8, 16> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 2>
impl DilationMethod for Expand<u8, 2>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 2> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 2> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 16usize
const DILATED_BITS: usize = 16usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x5555): <expand::Expand<u8, 2> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x5555): <expand::Expand<u8, 2> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0xffff): <expand::Expand<u8, 2> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0xffff): <expand::Expand<u8, 2> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 3>
impl DilationMethod for Expand<u8, 3>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 3> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 3> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 24usize
const DILATED_BITS: usize = 24usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00249249): <expand::Expand<u8, 3> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00249249): <expand::Expand<u8, 3> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x00ffffff): <expand::Expand<u8, 3> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x00ffffff): <expand::Expand<u8, 3> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 4>
impl DilationMethod for Expand<u8, 4>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 4> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 4> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 32usize
const DILATED_BITS: usize = 32usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x11111111): <expand::Expand<u8, 4> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x11111111): <expand::Expand<u8, 4> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0xffffffff): <expand::Expand<u8, 4> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0xffffffff): <expand::Expand<u8, 4> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 5>
impl DilationMethod for Expand<u8, 5>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 5> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 5> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 40usize
const DILATED_BITS: usize = 40usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x0000000842108421): <expand::Expand<u8, 5> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x0000000842108421): <expand::Expand<u8, 5> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x000000ffffffffff): <expand::Expand<u8, 5> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x000000ffffffffff): <expand::Expand<u8, 5> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 6>
impl DilationMethod for Expand<u8, 6>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 6> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 6> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 48usize
const DILATED_BITS: usize = 48usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x0000041041041041): <expand::Expand<u8, 6> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x0000041041041041): <expand::Expand<u8, 6> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x0000ffffffffffff): <expand::Expand<u8, 6> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x0000ffffffffffff): <expand::Expand<u8, 6> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 7>
impl DilationMethod for Expand<u8, 7>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 7> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 7> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 56usize
const DILATED_BITS: usize = 56usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x0002040810204081): <expand::Expand<u8, 7> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x0002040810204081): <expand::Expand<u8, 7> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x00ffffffffffffff): <expand::Expand<u8, 7> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x00ffffffffffffff): <expand::Expand<u8, 7> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 8>
impl DilationMethod for Expand<u8, 8>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 8> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 8> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 64usize
const DILATED_BITS: usize = 64usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x0101010101010101): <expand::Expand<u8, 8> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x0101010101010101): <expand::Expand<u8, 8> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffff): <expand::Expand<u8, 8> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffff): <expand::Expand<u8, 8> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<u8, 9>
impl DilationMethod for Expand<u8, 9>
Source§const UNDILATED_BITS: usize = 8usize
const UNDILATED_BITS: usize = 8usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 9> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xff): <expand::Expand<u8, 9> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 72usize
const DILATED_BITS: usize = 72usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x00000000000000008040201008040201): <expand::Expand<u8, 9> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x00000000000000008040201008040201): <expand::Expand<u8, 9> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0x00000000000000ffffffffffffffffff): <expand::Expand<u8, 9> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0x00000000000000ffffffffffffffffff): <expand::Expand<u8, 9> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl DilationMethod for Expand<usize, 2>
impl DilationMethod for Expand<usize, 2>
Source§const UNDILATED_BITS: usize = 64usize
const UNDILATED_BITS: usize = 64usize
The number of bits in the DilationMethod::Undilated type which
may be dilated into DilationMethod::Dilated Read more
Source§const UNDILATED_MAX: Self::Undilated = {transmute(0xffffffffffffffff): <expand::Expand<usize, 2> as DilationMethod>::Undilated}
const UNDILATED_MAX: Self::Undilated = {transmute(0xffffffffffffffff): <expand::Expand<usize, 2> as DilationMethod>::Undilated}
The maximum undilated value which may be dilated by this dilation method Read more
Source§const DILATED_BITS: usize = 128usize
const DILATED_BITS: usize = 128usize
The number of maximally dilated bits occupied in DilationMethod::Dilated Read more
Source§const DILATED_MAX: Self::Dilated = {transmute(0x55555555555555555555555555555555): <expand::Expand<usize, 2> as DilationMethod>::Dilated}
const DILATED_MAX: Self::Dilated = {transmute(0x55555555555555555555555555555555): <expand::Expand<usize, 2> as DilationMethod>::Dilated}
The maximum dilated value that can be stored in DilationMethod::Dilated Read more
Source§const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffffffffffffffffffff): <expand::Expand<usize, 2> as DilationMethod>::Dilated}
const DILATED_MASK: Self::Dilated = {transmute(0xffffffffffffffffffffffffffffffff): <expand::Expand<usize, 2> as DilationMethod>::Dilated}
A mask of all dilated bits, including 0 bits Read more
Source§fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
fn to_dilated(undilated: Self::Undilated) -> Self::Dilated
This function casts an undilated integer to a dilated integer Read more
Source§fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
fn to_undilated(dilated: Self::Dilated) -> Self::Undilated
This function converts a dilated integer to an undilated integer Read more
Source§fn dilate(value: Self::Undilated) -> DilatedInt<Self>
fn dilate(value: Self::Undilated) -> DilatedInt<Self>
This function carries out the dilation process, converting the
DilationMethod::Undilated value to a DilatedInt. Read more
Source§fn undilate(value: DilatedInt<Self>) -> Self::Undilated
fn undilate(value: DilatedInt<Self>) -> Self::Undilated
This function carries out the undilation process, converting a
DilatedInt back to an DilationMethod::Undilated value. Read more
Source§impl<T, const D: usize> Ord for Expand<T, D>where
T: DilatableType + Ord,
impl<T, const D: usize> Ord for Expand<T, D>where
T: DilatableType + Ord,
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T, const D: usize> PartialOrd for Expand<T, D>where
T: DilatableType + PartialOrd,
impl<T, const D: usize> PartialOrd for Expand<T, D>where
T: DilatableType + PartialOrd,
impl<T, const D: usize> Copy for Expand<T, D>where
T: DilatableType + Copy,
impl<T, const D: usize> Eq for Expand<T, D>where
T: DilatableType + Eq,
impl<T, const D: usize> StructuralPartialEq for Expand<T, D>where
T: DilatableType,
Auto Trait Implementations§
impl<T, const D: usize> Freeze for Expand<T, D>
impl<T, const D: usize> RefUnwindSafe for Expand<T, D>where
T: RefUnwindSafe,
impl<T, const D: usize> Send for Expand<T, D>where
T: Send,
impl<T, const D: usize> Sync for Expand<T, D>where
T: Sync,
impl<T, const D: usize> Unpin for Expand<T, D>where
T: Unpin,
impl<T, const D: usize> UnwindSafe for Expand<T, D>where
T: UnwindSafe,
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