Expand description
A type that can be stored in a register
Reads this register and returns its value
This function must not return Value::Empty
.
Writes the value of this register
This function returns an error if the provided value does not have an appropriate type
for this register. This function will not be called on a non-mutable register.
If this function returns an error, the value of this register must be the same as before
the call to write().
Reads the value of an array register
If this array is longer than the maximum capacity of the corresponding Value
variant,
the returned value will be truncated.
Writes an array register
This function returns an error if the length of the provided Value
is not equal to
the length of this array.
Reads the value of an array register
If this array is longer than the maximum capacity of the corresponding Value
variant,
the returned value will be truncated.
Writes an array register
This function returns an error if the length of the provided Value
is not equal to
the length of this array.
Reads the value of an array register
If this array is longer than the maximum capacity of the corresponding Value
variant,
the returned value will be truncated.
Writes an array register
This function returns an error if the length of the provided Value
is not equal to
the length of this array.
Reads the value of an array register
If this array is longer than the maximum capacity of the corresponding Value
variant,
the returned value will be truncated.
Writes an array register
This function returns an error if the length of the provided Value
is not equal to
the length of this array.
Reads the value of an array register
If this array is longer than the maximum capacity of the corresponding Value
variant,
the returned value will be truncated.
Writes an array register
This function returns an error if the length of the provided Value
is not equal to
the length of this array.
Reads the value of an array register
If this array is longer than the maximum capacity of the corresponding Value
variant,
the returned value will be truncated.
Writes an array register
This function returns an error if the length of the provided Value
is not equal to
the length of this array.
Reads the value of an array register
If this array is longer than the maximum capacity of the corresponding Value
variant,
the returned value will be truncated.
Writes an array register
This function returns an error if the length of the provided Value
is not equal to
the length of this array.
Reads the value of an array register
If this array is longer than the maximum capacity of the corresponding Value
variant,
the returned value will be truncated.
Writes an array register
This function returns an error if the length of the provided Value
is not equal to
the length of this array.
Reads the value of an array register
If this array is longer than the maximum capacity of the corresponding Value
variant,
the returned value will be truncated.
Writes an array register
This function returns an error if the length of the provided Value
is not equal to
the length of this array.
Reads the value of an array register
If this array is longer than the maximum capacity of the corresponding Value
variant,
the returned value will be truncated.
Writes an array register
This function returns an error if the length of the provided Value
is not equal to
the length of this array.
Reads the value of an array register
If this array is longer than the maximum capacity of the corresponding Value
variant,
the returned value will be truncated.
Writes an array register
This function returns an error if the length of the provided Value
is not equal to
the length of this array.