pub fn icon(&self) -> Icon {
        let (obj_data, funcs) = self.get_list_widget_item_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).icon)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Icon::new_from_rc(t);
            } else {
                ret_val = Icon::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Returns the list item's icon.
///
/// **See also:** [`set_icon()`]
/// {QAbstractItemView::iconSize}{iconSize}
Returns the list item's icon.
Returns the list item ' s icon .
pub fn icon(&self) -> Icon {
        let (obj_data, funcs) = self.get_list_widget_item_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).icon)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Icon::new_from_rc(t);
            } else {
                ret_val = Icon::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn icon ( & self ) -> Icon { let ( obj_data , funcs ) = self . get_list_widget_item_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . icon ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Icon :: new_from_rc ( t ) ; } else { ret_val = Icon :: new_from_owned ( t ) ; } ret_val } }
Returns the list item's icon.
Returns the list item ' s icon .
&self
&self