Trait components::rendering::CustomClipper
source · [−]pub trait CustomClipper<T> {
fn get_clip(&self, size: Size) -> T;
fn add_listener(&self, listener: VoidCallback) { ... }
fn get_approximate_clip_rect(&self, size: Size) -> Rect { ... }
fn remove_listener(&self, listener: VoidCallback) { ... }
fn should_reclip(&self, old_clipper: Box<dyn CustomClipper<T>>) -> bool { ... }
}