ClipExt

Trait ClipExt 

Source
pub trait ClipExt {
    // Required method
    fn clip(self) -> Clip;
}
Expand description

A trait that adds a clip method to any type that implements IntoView.

Required Methods§

Source

fn clip(self) -> Clip

Wrap the view in a clip view.

Implementors§

Source§

impl<T: IntoView + 'static> ClipExt for T