### Example Request Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N4095.html?search=u32+-%3E+bool A sample HTTP request to demonstrate the API usage. ```bash curl -X GET 'https://api.example.com/v1/users?limit=10' -H 'Authorization: Bearer YOUR_TOKEN' ``` -------------------------------- ### KGenerator Usage Example Source: https://docs.rs/rfc6979 Example demonstrating how to use the KGenerator struct to generate a deterministic ephemeral scalar k for a given private key, message hash, and modulus. ```APIDOC ## KGenerator ### Description Deterministic generator for the ephemeral scalar `k` as used by (EC)DSA. ### Usage ```rust use hex_literal::hex; use rfc6979::bigint::U256; use sha2::{Digest, Sha256}; // NIST P-256 field modulus const NIST_P256_MODULUS: U256 = U256::from_be_hex( "FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551" ); // Private key for RFC6979 NIST P256/SHA256 test case (see RFC6979 Appendix A.2.5). // WARNING: don't hardcode private keys in your source code! const RFC6979_KEY: [u8; 32] = hex!("C9AFA9D845BA75166B5C215767B1D6934E50C3DB36E89B127B8A622B120F6721"); // Test message for RFC6979 NIST P256/SHA256 test case const RFC6979_MSG: &[u8] = b"sample"; // Expected K for RFC6979 NIST P256/SHA256 test case const RFC6979_EXPECTED_K: [u8; 32] = hex!("A6E3C57DD01ABE90086538398355DD4C3B17AA873382B0F24D6129493D8AAD60"); let h = Sha256::digest(RFC6979_MSG); let aad = b""; let mut kgen = rfc6979::KGenerator::::new(&RFC6979_KEY, &h, aad, &NIST_P256_MODULUS); let mut k = [0u8; U256::BYTES]; kgen.fill_next_k(&mut k); assert_eq!(k, RFC6979_EXPECTED_K); ``` ### Methods #### new Creates a new KGenerator instance. **Parameters:** - `key` (byte slice) - The private key. - `h` (hash output) - The message hash. - `aad` (byte slice) - Additional authenticated data. - `modulus` (U256) - The field modulus. #### fill_next_k Fills the provided buffer with the next deterministic k value. **Parameters:** - `out` (mutable byte array) - Buffer to receive the k value. ``` -------------------------------- ### Example Response Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N4095.html?search=u32+-%3E+bool A sample JSON response returned by the API. ```json { "status": "success", "data": { "users": [ { "id": 1, "name": "John Doe", "email": "john.doe@example.com" } ] }, "meta": { "total": 1, "limit": 10, "offset": 0 } } ``` -------------------------------- ### P430::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P430.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly positive integer 430. ```APIDOC ## P430::new() ### Description Instantiates a singleton representing this strictly positive integer. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let p430 = P430::new(); ``` ``` -------------------------------- ### N770::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N770.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer N770. ```APIDOC ## N770::new() ### Description Instantiates a singleton representing this strictly negative integer. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n770 = N770::new(); ``` ``` -------------------------------- ### impl Any for T Source: https://docs.rs/rfc6979/latest/rfc6979/consts/struct.B1.html?search= Provides the type_id method to get the TypeId of a value. ```APIDOC ## impl Any for T ### Description Gets the `TypeId` of `self`. ### Method `fn type_id(&self) -> TypeId` ### Parameters - `self` - The value to get the TypeId of. ### Returns - `TypeId` - The TypeId of the value. ``` -------------------------------- ### P620::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P620.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly positive integer P620. ```APIDOC ## P620::new() ### Description Instantiates a singleton representing the strictly positive integer P620. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let p620 = P620::new(); ``` ``` -------------------------------- ### U790::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U790.html?search= Instantiates a singleton representing the unsigned integer U790. ```APIDOC ## U790::new() ### Description Instantiates a singleton representing this unsigned integer. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### ToInt for Z0 Source: https://docs.rs/rfc6979/latest/rfc6979/consts/struct.Z0.html?search=u32+-%3E+bool Provides a constant and method to get the isize value of Z0. ```APIDOC ## ToInt for Z0 ### Description Provides a constant and method to get the isize value of Z0. ### Associated Constants - **INT** (isize) - The concrete value for the type. Can be used in `const` contexts. ### Methods - **to_int()** -> isize - Method returning the concrete value for the type. ``` -------------------------------- ### ToInt for Z0 Source: https://docs.rs/rfc6979/latest/rfc6979/consts/struct.Z0.html?search=u32+-%3E+bool Provides a constant and method to get the i64 value of Z0. ```APIDOC ## ToInt for Z0 ### Description Provides a constant and method to get the i64 value of Z0. ### Associated Constants - **INT** (i64) - The concrete value for the type. Can be used in `const` contexts. ### Methods - **to_int()** -> i64 - Method returning the concrete value for the type. ``` -------------------------------- ### N732::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N732.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer N732. ```APIDOC ## N732::new() ### Description Instantiates a singleton representing this strictly negative integer. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n = N732::new(); ``` ``` -------------------------------- ### U965::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U965.html Instantiates a singleton representing the unsigned integer U965. ```APIDOC ## U965::new() ### Description Instantiates a singleton representing this unsigned integer. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### ToInt for PInt Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P896.html?search= Provides a constant and method to get the i8 value of a PInt. ```APIDOC ## ToInt for PInt ### Description Provides a constant and method to get the i8 value of a PInt. ### Associated Constant - **INT** (i8) - The concrete value for the type. Can be used in `const` contexts. ### Method - **to_int()** -> i8 - Method returning the concrete value for the type. ``` -------------------------------- ### GetBit for UInt with UInt Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U101.html Gets a bit from a UInt type at a given position. ```APIDOC ## GetBit for UInt with UInt ### Description Gets a bit from a UInt type at a given position. ### Type Output `type Output = as Sub>::Output>>::Output` ``` -------------------------------- ### U69::new Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U69.html Instantiates a singleton representing the unsigned integer 69. ```APIDOC ## U69::new ### Description Instantiates a singleton representing this unsigned integer. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### ToInt for PInt Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P1009.html?search= Provides a constant and method to get the i8 value of a PInt where U is Unsigned and NonZero. ```APIDOC ## ToInt for PInt ### Description Provides a constant and method to get the i8 value of a PInt where U is Unsigned and NonZero. ### Associated Constant - **INT** (i8) - The concrete value for the type. Can be used in const contexts. ### Method - **to_int()** -> i8 - Method returning the concrete value for the type. ``` -------------------------------- ### P732::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P732.html?search=std%3A%3Avec Instantiates a singleton representing the strictly positive integer P732. ```APIDOC ## P732::new() ### Description Instantiates a singleton representing this strictly positive integer. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let value = P732::new(); ``` ``` -------------------------------- ### P700::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P700.html?search= Instantiates a singleton representing the strictly positive integer 700. ```APIDOC ## P700::new() ### Description Instantiates a singleton representing the strictly positive integer 700. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton representing the strictly positive integer 700. ### Example ```rust let p700 = P700::new(); ``` ``` -------------------------------- ### ToInt for PInt Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P1009.html?search= Provides a constant and method to get the i64 value of a PInt where U is Unsigned and NonZero. ```APIDOC ## ToInt for PInt ### Description Provides a constant and method to get the i64 value of a PInt where U is Unsigned and NonZero. ### Associated Constant - **INT** (i64) - The concrete value for the type. Can be used in const contexts. ### Method - **to_int()** -> i64 - Method returning the concrete value for the type. ``` -------------------------------- ### U367::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U367.html Instantiates a singleton representing the unsigned integer 367. ```APIDOC ## U367::new() ### Description Instantiates a singleton representing this unsigned integer. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### ToInt for PInt Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P1009.html?search= Provides a constant and method to get the i32 value of a PInt where U is Unsigned and NonZero. ```APIDOC ## ToInt for PInt ### Description Provides a constant and method to get the i32 value of a PInt where U is Unsigned and NonZero. ### Associated Constant - **INT** (i32) - The concrete value for the type. Can be used in const contexts. ### Method - **to_int()** -> i32 - Method returning the concrete value for the type. ``` -------------------------------- ### Cmp> for UInt Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U480.html?search= Implements comparison between two UInt values with trailing B0 bits. The comparison delegates to the inner unsigned types with an Equal starting state. ```APIDOC ## Cmp> for UInt ### Description Implements comparison between two UInt values with trailing B0 bits. The comparison delegates to the inner unsigned types with an Equal starting state. ### Type Parameters - `Ul` (Unsigned) - Left operand's inner unsigned type. - `Ur` (Unsigned) - Right operand's inner unsigned type. ### Associated Types - `Output` = `
    >::Output` - The result of the comparison. It should only ever be one of `Greater`, `Less`, or `Equal`. ``` -------------------------------- ### N715::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N715.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer N715. ```APIDOC ## N715::new() ### Description Instantiates a singleton representing the strictly negative integer N715. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n = N715::new(); ``` ``` -------------------------------- ### P70::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P70.html?search= Instantiates a singleton representing the strictly positive integer 70. ```APIDOC ## P70::new() ### Description Instantiates a singleton representing this strictly positive integer. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let p70 = P70::new(); ``` ``` -------------------------------- ### bits2octets tests: reduction, padding, and boxed variants Source: https://docs.rs/rfc6979/latest/src/rfc6979/lib.rs.html Tests for the bits2octets function. Covers cases where the input is already reduced, needs reduction, is shorter than qlen and gets left-padded, and boxed variants with different hash lengths. ```rust const EXAMPLE_Q: U256 = U256::from_be_hex("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551"); ``` ```rust #[test] fn already_reduced() { let q = U256::from_u64(0x80); let mut out = [0u8; 32]; assert_eq!(bits2octets(&[0x2a], &q, &mut out), &[0x2a]); } ``` ```rust #[test] fn needs_reduction() { let q = U256::from_u64(0x80); let mut out = [0u8; 32]; assert_eq!(bits2octets(&[0xff], &q, &mut out), &[0x7f]); } ``` ```rust #[test] fn left_pads_when_blen_is_shorter_than_qlen() { let h = [0xab; 20]; let mut out = [0u8; 32]; assert_eq!( bits2octets(&h, &EXAMPLE_Q, &mut out), &[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, ], ); } ``` ```rust #[test] fn boxed_left_pads_short_hash_to_rlen() { let boxed_q = BoxedUint::from_be_slice(&EXAMPLE_Q.to_be_bytes(), 256).unwrap(); let h = [0xab; 20]; let mut out = [0u8; 32]; assert_eq!( bits2octets(&h, &boxed_q, &mut out), &[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, ], ); } ``` ```rust #[test] fn boxed_160_bit_hash_with_256_bit_q() { let q = U256::from_be_hex( "87A8E61DB4B6663CFFBBD19C6519599998CEEF608660DD0F25D2CE4EDDBF8A9B", ); let boxed_q = BoxedUint::from_be_slice(&q.to_be_bytes(), 256).unwrap(); let h = [ 0x81, 0x53, 0x2b, 0x5b, 0xe0, 0x21, 0xe9, 0xb6, 0xe9, 0x87, 0xf3, 0x37, 0x66, 0x31, 0x97, 0x4e, 0xa3, 0x1b, 0x72, 0x37, ]; let mut out = [0u8; 32]; let actual = bits2octets(&h, &boxed_q, &mut out); assert_eq!(&actual[..12], &[0u8; 12]); } ``` -------------------------------- ### impl GetBit> for UInt Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U10000.html Implements the GetBit operation for UInt with a bit index represented as a UInt. The bit is obtained by recursively getting the bit from the upper part after subtracting one from the index. ```APIDOC ## GetBit> for UInt ### Description Implements the `GetBit` operation for `UInt` with a bit index `UInt`. The bit is obtained by recursively getting the bit from `Un` after subtracting one from the index. ### Type Parameters - `UInt: Copy + Sub` - `Un: GetBit< as Sub>::Output>` ### Associated Types - `type Output = as Sub>::Output>>::Output` ``` -------------------------------- ### N431::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N431.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer -431. ```APIDOC ## N431::new() ### Description Instantiates a singleton representing the strictly negative integer -431. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton representing the strictly negative integer -431. ``` -------------------------------- ### N701::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N701.html?search=std%3A%3Avec Instantiates a singleton representing the strictly negative integer -701. ```APIDOC ## N701::new() ### Description Instantiates a singleton representing the strictly negative integer -701. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ``` -------------------------------- ### U431::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U431.html Instantiates a singleton representing the unsigned integer 431. ```APIDOC ## U431::new() ### Description Instantiates a singleton representing this unsigned integer. ### Method `pub fn new() -> UInt` ### Parameters None. ### Returns - `UInt` - A singleton instance of the unsigned integer type. ``` -------------------------------- ### U40::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U40.html Instantiates a singleton representing the unsigned integer 40. ```APIDOC ## U40::new() ### Description Instantiates a singleton representing the unsigned integer 40. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ### Example ```rust let u40 = U40::new(); ``` ``` -------------------------------- ### N965::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N965.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer N965. ```APIDOC ## N965::new() ### Description Instantiates a singleton representing the strictly negative integer N965. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ``` -------------------------------- ### N365::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N365.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer -365. ```APIDOC ## N365::new() ### Description Instantiates a singleton representing the strictly negative integer -365. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ``` -------------------------------- ### N711::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N711.html?search=std%3A%3Avec Instantiates a singleton representing the strictly negative integer N711. ```APIDOC ## N711::new() ### Description Instantiates a singleton representing this strictly negative integer. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n = N711::new(); ``` ``` -------------------------------- ### P360::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P360.html?search= Instantiates a singleton representing the strictly positive integer 360. ```APIDOC ## P360::new() ### Description Instantiates a singleton representing the strictly positive integer 360. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let p360 = P360::new(); ``` ``` -------------------------------- ### N964::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N964.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer -964. ```APIDOC ## N964::new() ### Description Instantiates a singleton representing the strictly negative integer -964. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton representing the strictly negative integer. ### Example ```rust let n = N964::new(); ``` ``` -------------------------------- ### U60::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U60.html?search= Instantiates a singleton representing the unsigned integer 60. ```APIDOC ## U60::new() ### Description Instantiates a singleton representing the unsigned integer 60. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### P40::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P40.html?search=std%3A%3Avec Instantiates a singleton representing the strictly positive integer 40. ```APIDOC ## P40::new() ### Description Instantiates a singleton representing this strictly positive integer. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let p40 = P40::new(); ``` ``` -------------------------------- ### U627::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U627.html?search= Instantiates a singleton representing this unsigned integer. ```APIDOC ## U627::new() ### Description Instantiates a singleton representing this unsigned integer. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### U63::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U63.html?search= Instantiates a singleton representing the unsigned integer 63. ```APIDOC ## U63::new() ### Description Instantiates a singleton representing the unsigned integer 63. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### U780::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U780.html?search= Instantiates a singleton representing the unsigned integer U780. ```APIDOC ## U780::new() ### Description Instantiates a singleton representing the unsigned integer U780. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ### Example ```rust let value = U780::new(); ``` ``` -------------------------------- ### U71::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U71.html Instantiates a singleton representing the unsigned integer 71. ```APIDOC ## U71::new() ### Description Instantiates a singleton representing this unsigned integer. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### N960::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N960.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer -960. ```APIDOC ## N960::new() ### Description Instantiates a singleton representing the strictly negative integer -960. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n960 = N960::new(); ``` ``` -------------------------------- ### P431::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P431.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly positive integer 431. ```APIDOC ## P431::new() ### Description Instantiates a singleton representing the strictly positive integer 431. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let p431 = P431::new(); ``` ``` -------------------------------- ### N43::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N43.html?search= Instantiates a singleton representing the strictly negative integer -43. ```APIDOC ## N43::new() ### Description Instantiates a singleton representing the strictly negative integer -43. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n43 = N43::new(); ``` ``` -------------------------------- ### N290::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N290.html?search=Option%3CT%3E%2C+%28T+-%3E+U%29+-%3E+Option%3CU%3E Instantiates a singleton representing the strictly negative integer N290. ```APIDOC ## N290::new() ### Description Instantiates a singleton representing this strictly negative integer. ### Method `pub fn new() -> NInt` ### Parameters None. ### Returns - `NInt` - A new instance of the strictly negative integer type. ### Example ```rust let n = N290::new(); ``` ``` -------------------------------- ### N706::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N706.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer -706. ```APIDOC ## N706::new() ### Description Instantiates a singleton representing the strictly negative integer -706. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n = N706::new(); ``` ``` -------------------------------- ### N207::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N207.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer N207. ```APIDOC ## N207::new() ### Description Instantiates a singleton representing this strictly negative integer. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n = N207::new(); ``` ``` -------------------------------- ### N770::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N770.html?search=Option%3CT%3E%2C+%28T+-%3E+U%29+-%3E+Option%3CU%3E Instantiates a singleton representing the strictly negative integer -770. ```APIDOC ## N770::new() ### Description Instantiates a singleton representing this strictly negative integer. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton representing the strictly negative integer. ``` -------------------------------- ### P434::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P434.html?search= Instantiates a singleton representing the strictly positive integer P434. ```APIDOC ## P434::new() ### Description Instantiates a singleton representing this strictly positive integer. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let p434 = P434::new(); ``` ``` -------------------------------- ### P64::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P64.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly positive integer 64. ```APIDOC ## P64::new() ### Description Instantiates a singleton representing this strictly positive integer. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let p64 = P64::new(); ``` ``` -------------------------------- ### N707::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N707.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer -707. ```APIDOC ## N707::new() ### Description Instantiates a singleton representing the strictly negative integer -707. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton representing the strictly negative integer -707. ### Example ```rust let n = N707::new(); ``` ``` -------------------------------- ### N641::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N641.html?search=std%3A%3Avec Instantiates a singleton representing the strictly negative integer N641. ```APIDOC ## N641::new() ### Description Instantiates a singleton representing the strictly negative integer N641. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n = N641::new(); ``` ``` -------------------------------- ### P736::new Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P736.html?search=std%3A%3Avec Instantiates a singleton representing the strictly positive integer P736. ```APIDOC ## P736::new ### Description Instantiates a singleton representing this strictly positive integer. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let p736 = P736::new(); ``` ``` -------------------------------- ### U217::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U217.html Instantiates a singleton representing the unsigned integer 217. ```APIDOC ## U217::new() ### Description Instantiates a singleton representing this unsigned integer. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### N42::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N42.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer N42. ```APIDOC ## N42::new() ### Description Instantiates a singleton representing this strictly negative integer. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton representing the strictly negative integer. ### Example ```rust let n42 = N42::new(); ``` ``` -------------------------------- ### P32::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P32.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly positive integer P32. ```APIDOC ## P32::new() ### Description Instantiates a singleton representing the strictly positive integer P32. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let p32 = P32::new(); ``` ``` -------------------------------- ### N445::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N445.html?search=std%3A%3Avec Instantiates a singleton representing the strictly negative integer -445. ```APIDOC ## N445::new() ### Description Instantiates a singleton representing this strictly negative integer. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton representing the strictly negative integer. ``` -------------------------------- ### U639::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U639.html Instantiates a singleton representing the unsigned integer 639. ```APIDOC ## U639::new() ### Description Creates a new instance of the type-level unsigned integer 639. ### Method Signature ```rust pub fn new() -> UInt ``` ### Parameters None. ### Returns - **UInt** - A singleton instance representing the unsigned integer 639. ### Example ```rust let value = U639::new(); ``` ``` -------------------------------- ### N943::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N943.html?search=Option%3CT%3E%2C+%28T+-%3E+U%29+-%3E+Option%3CU%3E Instantiates a singleton representing the strictly negative integer -943. ```APIDOC ## N943::new() ### Description Instantiates a singleton representing this strictly negative integer. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton representing the strictly negative integer. ``` -------------------------------- ### P720::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P720.html?search=Option%3CT%3E%2C+%28T+-%3E+U%29+-%3E+Option%3CU%3E Instantiates a singleton representing the strictly positive integer 720. ```APIDOC ## P720::new() ### Description Instantiates a singleton representing the strictly positive integer 720. ### Method `pub fn new() -> PInt` ### Parameters None. ### Returns - `PInt` - A singleton instance of the strictly positive integer type. ### Example ```rust let value = P720::new(); ``` ``` -------------------------------- ### N843::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N843.html?search= Instantiates a singleton representing the strictly negative integer N843. ```APIDOC ## N843::new() ### Description Instantiates a singleton representing the strictly negative integer N843. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ``` -------------------------------- ### N434::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N434.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer -434. ```APIDOC ## N434::new() ### Description Instantiates a singleton representing the strictly negative integer -434. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns NInt - A singleton representing the strictly negative integer. ``` -------------------------------- ### U263::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U263.html Instantiates a singleton representing the unsigned integer 263. ```APIDOC ## U263::new() ### Description Instantiates a singleton representing this unsigned integer. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### U860::new Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U860.html Instantiates a singleton representing the unsigned integer 860. ```APIDOC ## U860::new ### Description Instantiates a singleton representing this unsigned integer. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### U655::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U655.html?search= Instantiates a singleton representing the unsigned integer U655. ```APIDOC ## U655::new() ### Description Instantiates a singleton representing this unsigned integer. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ### Example ```rust let value = U655::new(); ``` ``` -------------------------------- ### P702::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P702.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly positive integer P702. ```APIDOC ## P702::new() ### Description Instantiates a singleton representing this strictly positive integer. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let p702 = P702::new(); ``` ``` -------------------------------- ### N612::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N612.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer N612. ```APIDOC ## N612::new() ### Description Instantiates a singleton representing the strictly negative integer N612. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n = N612::new(); ``` ``` -------------------------------- ### N44::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N44.html?search=std%3A%3Avec Instantiates a singleton representing the strictly negative integer N44. ```APIDOC ## N44::new() ### Description Instantiates a singleton representing this strictly negative integer. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ``` -------------------------------- ### P701::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P701.html?search=Option%3CT%3E%2C+%28T+-%3E+U%29+-%3E+Option%3CU%3E Instantiates a singleton representing the strictly positive integer 701. ```APIDOC ## P701::new() ### Description Instantiates a singleton representing this strictly positive integer. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ``` -------------------------------- ### U632::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U632.html Instantiates a singleton representing the unsigned integer 632. ```APIDOC ## U632::new() ### Description Instantiates a singleton representing the unsigned integer 632. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### N20::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N20.html?search=Option%3CT%3E%2C+%28T+-%3E+U%29+-%3E+Option%3CU%3E Instantiates a singleton representing the strictly negative integer N20. ```APIDOC ## N20::new() ### Description Instantiates a singleton representing this strictly negative integer. ### Method `pub fn new() -> NInt` ### Parameters None ### Returns - `NInt` - A new instance of the strictly negative integer type. ``` -------------------------------- ### N390::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N390.html?search=Option%3CT%3E%2C+%28T+-%3E+U%29+-%3E+Option%3CU%3E Instantiates a singleton representing the strictly negative integer N390. ```APIDOC ## N390::new() ### Description Instantiates a singleton representing the strictly negative integer N390. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n390 = N390::new(); ``` ``` -------------------------------- ### N639::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N639.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer -639. ```APIDOC ## N639::new() ### Description Instantiates a singleton representing the strictly negative integer -639. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton representing the strictly negative integer -639. ### Example ```rust let n = N639::new(); ``` ``` -------------------------------- ### N945::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N945.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer -945. ```APIDOC ## N945::new() ### Description Instantiates a singleton representing the strictly negative integer -945. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n945 = N945::new(); ``` ``` -------------------------------- ### N717::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N717.html?search= Instantiates a singleton representing the strictly negative integer N717. ```APIDOC ## N717::new() ### Description Instantiates a singleton representing this strictly negative integer. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n717 = N717::new(); ``` ``` -------------------------------- ### N729::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N729.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer N729. ```APIDOC ## N729::new() ### Description Instantiates a singleton representing the strictly negative integer N729. ### Method new ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the strictly negative integer type. ### Example ```rust let n = N729::new(); ``` ``` -------------------------------- ### P439::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P439.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly positive integer 439. ```APIDOC ## P439::new() ### Description Instantiates a singleton representing this strictly positive integer. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton instance of the strictly positive integer type. ### Example ```rust let p439 = P439::new(); ``` ``` -------------------------------- ### U743::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U743.html?search= Instantiates a singleton representing the unsigned integer 743. ```APIDOC ## U743::new() ### Description Instantiates a singleton representing this unsigned integer. ### Method new ### Signature pub fn new() -> UInt ### Parameters None ### Returns - **UInt** - A singleton instance of the unsigned integer type. ``` -------------------------------- ### PInt::new() Constructor Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P700.html Instantiates a singleton representing the strictly positive integer. This is a method on the PInt type, which P700 is an alias for. ```APIDOC ## PInt::new() ### Description Instantiates a singleton representing this strictly positive integer. This method is available on the `PInt` type, which `P700` is an alias for. ### Method Signature ```rust pub fn new() -> PInt ``` ### Parameters None. ### Returns - `PInt` - A new instance of the positive integer type. ``` -------------------------------- ### P60::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.P60.html?search=std%3A%3Avec Instantiates a singleton representing the strictly positive integer 60. ```APIDOC ## P60::new() ### Description Instantiates a singleton representing the strictly positive integer 60. ### Method new ### Signature pub fn new() -> PInt ### Parameters None ### Returns - **PInt** - A singleton representing the strictly positive integer 60. ### Example ```rust let p60 = P60::new(); ``` ``` -------------------------------- ### U44::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.U44.html Instantiates a singleton representing the unsigned integer 44. ```APIDOC ## U44::new() ### Description Instantiates a singleton representing this unsigned integer. ### Method `pub fn new() -> UInt` ### Parameters None ### Returns - `UInt` - A singleton instance of the unsigned integer type. ``` -------------------------------- ### N483::new() Source: https://docs.rs/rfc6979/latest/rfc6979/consts/type.N483.html?search=u32+-%3E+bool Instantiates a singleton representing the strictly negative integer N483. ```APIDOC ## N483::new() ### Description Creates a new instance of the N483 type, which represents the strictly negative integer -483. ### Method new() ### Signature pub fn new() -> NInt ### Parameters None ### Returns - **NInt** - A singleton instance of the NInt type representing the strictly negative integer. ```