IScopedResource
trait · ferroui-base · v0.5.0
trait IScopedResource<T>
A value that is available until it is disposed.
Members
value
fn value(self: &Self) -> T
The value.
Panics when the resource has been disposed.
dispose
fn dispose(self: &Self)
Releases the value. Further calls do nothing.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.