Skip to main content

MeasureContext

Trait MeasureContext 

Source
pub trait MeasureContext {
    // Required method
    fn handles(&mut self) -> MeasureHandles<'_>;
}
Expand description

The handles a custom measure callback receives from the engine.

The facade supplies a context whose handles return its window and application; the engine only forwards the context to the callback stored when the node was created.

Required Methods§

Source

fn handles(&mut self) -> MeasureHandles<'_>

Returns the facade’s handles for this pass.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§