pub trait Modifying:
Send
+ Sync
+ 'static {
// Required method
fn body(&self, content: ViewHandle) -> ViewHandle;
}Expand description
How a view modifier draws.
Required Methods§
Sourcefn body(&self, content: ViewHandle) -> ViewHandle
fn body(&self, content: ViewHandle) -> ViewHandle
Draw one modified view. content is whatever the modifier was applied to.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".