///
/// Returns the custom brush pattern, or a null pixmap if no custom brush pattern
/// has been set.
///
/// **See also:** [`set_texture()`]
///
/// Returns the custom brush pattern, or a null image if no custom
/// brush pattern has been set.
///
/// If the texture was set as a QPixmap it will be converted to a
/// QImage.
///
/// **See also:** [`set_texture_image()`]
Returns the custom brush pattern, or a null pixmap if no custom brush pattern
has been set.



Returns the custom brush pattern, or a null image if no custom
brush pattern has been set.

If the texture was set as a QPixmap it will be converted to a
QImage.


Returns the custom brush pattern or a null pixmap if no custom brush pattern has been set . Returns the custom brush pattern or a null image if no custom brush pattern has been set . If the texture was set as a QPixmap it will be converted to a QImage .
pub fn texture(&self) -> Pixmap {
        let (obj_data, funcs) = self.get_brush_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).texture)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Pixmap::new_from_rc(t);
            } else {
                ret_val = Pixmap::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn texture ( & self ) -> Pixmap { let ( obj_data , funcs ) = self . get_brush_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . texture ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Pixmap :: new_from_rc ( t ) ; } else { ret_val = Pixmap :: new_from_owned ( t ) ; } ret_val } }
Returns the custom brush pattern, or a null pixmap if no custom brush pattern
has been set.
Returns the custom brush pattern or a null pixmap if no custom brush pattern has been set .
&self