Struct respk::Resource[][src]

pub struct Resource { /* fields omitted */ }

A decompressed resource.

Methods

impl Resource
[src]

Get the contents of the resource.

Get the contents of the resource as a string.

Methods from Deref<Target = ResourceInfo>

Get the path of the resource.

Get the full size of the resource contents.

Get the compressed size of the resource.

Trait Implementations

impl Debug for Resource
[src]

Formats the value using the given formatter. Read more

impl Deref for Resource
[src]

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

impl Send for Resource

impl Sync for Resource