pub struct Setup { /* private fields */ }
Expand description
An opaque structure that holds metadata and (in prod mode) the included raw
asset data.
Note: the fields of this struct are public in order for it to be
const-constructed in assets!
. There are also a some public methods on
this type for a similar reason. However, the fields and methods are not
considered part of the public API of reinda
and as such you shouldn’t use
them as they might change in minor version updates. Treat this type as
opaque! (In case you were wondering, all those fields and methods have been
hidden in the docs).
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
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.