Trait sfml::SfResource [−][src]
A resource handed out to us by SFML
Each resource type must call a different SFML destructor function before being destroyed.
This is implemented using traits to make implementing SfBox
easier.
Behind the scenes, we have a Dispose
trait that these types implement, but
that trait never needs to be implemented outside of this crate.
This trait is a public interface to the internal Dispose
trait, so SfBox
can be used
in a generic context.