diff options
| author | HampusM <hampus@hampusmat.com> | 2026-10-27 13:12:00 +0100 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-10-27 13:12:00 +0100 |
| commit | 5a8842f36c46d6f76246a7a8a683516191215aad (patch) | |
| tree | d66a41bf0e265485d4198f09d7b6cb15c0ca3a8f | |
| parent | 99d57553432810f83f5c59a6cce78e7281d1b8d3 (diff) | |
docs(engine): add doc comments to asset::Status variants
| -rw-r--r-- | engine/src/asset.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engine/src/asset.rs b/engine/src/asset.rs index 47a6dfc..31d6e06 100644 --- a/engine/src/asset.rs +++ b/engine/src/asset.rs @@ -57,9 +57,16 @@ impl<'a> Dependency<'a> #[non_exhaustive] pub enum Status { + /// The asset is loaded Ready, + + /// The asset or one of it's dependencies are loading Pending, + + /// The asset has failed in some way Failed(FailureReason), + + /// The asset does not exist NotFound, } |
