clip

Function clip 

Source
pub fn clip<V: IntoView + 'static>(child: V) -> Clip
👎Deprecated since 0.2.0: Use Clip::new() instead
Expand description

A clip is a wrapper around a child View that will clip the painting of the child so that it does not show outside of the viewport of the Clip.

This can be useful for limiting child painting, including for rounded borders using border radius.