pub struct Runtime { /* private fields */ }
Expand description
Stores data used by the algorithm.
This enables us to reuse memory.
Creates a new runtime from the dimensions of Config
.
Merges the data of the two images. other
will not be modified.
This makes self
appear as if it had been rendered with the
sum of the iterations of self
and other
.
Panics if the dimensions of self
isn’t the same as the dimensions of other
.
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 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.