///
/// Returns the size policy of this item.
Returns the size policy of this item.
Returns the size policy of this item .
pub fn size_policy(&self) -> SizePolicy {
        let (obj_data, funcs) = self.get_spacer_item_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).size_policy)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = SizePolicy::new_from_rc(t);
            } else {
                ret_val = SizePolicy::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn size_policy ( & self ) -> SizePolicy { let ( obj_data , funcs ) = self . get_spacer_item_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . size_policy ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = SizePolicy :: new_from_rc ( t ) ; } else { ret_val = SizePolicy :: new_from_owned ( t ) ; } ret_val } }
Returns the size policy of this item.
Returns the size policy of this item .
&self