Skip to main content

Module resources

Module resources 

Source

Structs§

ResourceBytes
Struct for efficiently referencing bytes from ResourceReaderMethods. Can be treated as &[u8].

Enums§

Resource

Statics§

RESOURCE_READER 🔒

Traits§

ResourceReaderMethods

Functions§

read_bytes
read_string
Consider using read_bytes with str::from_utf8 if you can use a &str.
sandbox_access_files
sandbox_access_files_dirs

Type Aliases§

ResourceReader
A static reference to a ResourceReader