pub fn mask(&self) -> Region {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).mask)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Region::new_from_rc(t);
            } else {
                ret_val = Region::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Returns the mask currently set on a widget. If no mask is set the
/// return value will be an empty region.
///
/// **See also:** [`set_mask()`]
/// [`clear_mask()`]
/// [`Region::is_empty`]
/// {Shaped Clock Example}
Returns the mask currently set on a widget. If no mask is set the
return value will be an empty region.


Returns the mask currently set on a widget . If no mask is set the return value will be an empty region .
pub fn mask(&self) -> Region {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).mask)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Region::new_from_rc(t);
            } else {
                ret_val = Region::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn mask ( & self ) -> Region { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . mask ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Region :: new_from_rc ( t ) ; } else { ret_val = Region :: new_from_owned ( t ) ; } ret_val } }
Returns the mask currently set on a widget.
Returns the mask currently set on a widget .
&self
&self