pub struct Seq<T: Default> { /* private fields */ }
Expand description

Variable length byte arrays.

Implementations

Function that is not part of the language but is offered as a helper for tests, etc.

Function that is not part of the language but is offered as a helper for tests, etc.

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec Get the size of this sequence.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

Function that is not part of the language but is offered as a helper for tests, etc.

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec. Get the number of chunks of chunk_size in this array. There might be less than chunk_size remaining elements in this array beyond these.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec. Get the chunk_number chunk of chunk_size from this array as Seq<T>. The resulting sequence is of exactly chunk_size length. Until #84 is fixed this returns an empty sequence if not enough elements are left.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec. Get the remaining chunk of this array of length less than chunk_size. If there’s no remainder, i.e. if the length of this array can be divided by chunk_size without a remainder, the function returns an empty sequence (until #84 is fixed).

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

Function that is not part of the language but is offered as a helper for tests, etc.

Function that is not part of the language but is offered as a helper for tests, etc.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

Read hex string to Bytes.

Function that is not part of the language but is offered as a helper for tests, etc.

Function that is not part of the language but is offered as a helper for tests, etc.

Function that is not part of the language but is offered as a helper for tests, etc.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

Function that is not part of the language but is offered as a helper for tests, etc.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

Function that is not part of the language but is offered as a helper for tests, etc.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

Function that is not part of the language but is offered as a helper for tests, etc.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

Function that is not part of the language but is offered as a helper for tests, etc.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

Function that is not part of the language but is offered as a helper for tests, etc.

Function that is not part of the language but is offered as a helper for tests, etc.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

Function that is not part of the language but is offered as a helper for tests, etc.

Function that is not part of the language but is offered as a helper for tests, etc.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

Function that is not part of the language but is offered as a helper for tests, etc.

Function that is not part of the language but is offered as a helper for tests, etc.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

Function that is not part of the language but is offered as a helper for tests, etc.

Function that is not part of the language but is offered as a helper for tests, etc.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

Function that is not part of the language but is offered as a helper for tests, etc.

Function that is not part of the language but is offered as a helper for tests, etc.

Function that is not part of the language but is offered as a helper for tests, etc.

Trait Implementations

Polynomial addition on ℤ[x]

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

The resulting type after applying the + operator.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

The resulting type after applying the & operator.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

The resulting type after applying the | operator.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

The resulting type after applying the ^ operator.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

The returned type after indexing.

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

The returned type after indexing.

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

The returned type after indexing.

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

The returned type after indexing.

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

The returned type after indexing.

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

(self - rhs) % n.

(self + rhs) % n

(self * rhs) % n

(self ^ exp) % n

self % n

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec. |self| (coefficient-wise)

self % n that always returns a positive integer

Polynomial multiplication on ℤ[x]

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

The resulting type after applying the * operator.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

The resulting type after applying the ! operator.

Return largest value that can be represented.

self ^ exp where exp is a u32.

self ^ exp where exp is a Self.

Division.

Invert self modulo n.

Function that is not part of the language but is offered as a helper for tests, etc.

This method tests for !=.

Function that is not part of the language but is offered as a helper for tests, etc.

This method tests for !=.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec. Get a new sequence of capacity l.

This function can be called from hacspec programs but its body features Rust constructs that are not part of hacspec

Function that is not part of the language but is offered as a helper for tests, etc.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

The resulting type after applying the << operator.

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

The resulting type after applying the >> operator.

Polynomial subtraction on ℤ[x]

This function is within the hacspec subset of Rust: its signature and body use only hacspec constructs and call functions whose signatures are in hacspec.

The resulting type after applying the - operator.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.