A module.
A module has a list of imports and a list of GLSL extern declaration.
List of imports for this module.
The GLSL body of the module.
Shrink a module along with its imports to yield a bigger module with no import. Return all
the visited modules (including the current one).
This is needed whenever the module must be compiled to strings (i.e. Module::to_glsl_setup).
Fold a module into its GLSL setup.
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Type of the key used to load the resource.
Type of error that might happen while loading.
Function called when a resource must be reloaded. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more