pub fn contents_margins(&self) -> Margins {
        let (obj_data, funcs) = self.get_layout_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).contents_margins)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Margins::new_from_rc(t);
            } else {
                ret_val = Margins::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Extracts the left, top, right, and bottom margins used around the
/// layout, and assigns them to * *left,* * *top,* * *right,* and * *bottom* (unless they are null pointers).
///
/// By default, QLayout uses the values provided by the style. On
/// most platforms, the margin is 11 pixels in all directions.
///
/// **See also:** [`set_contents_margins()`]
/// [`Style::pixel_metric`]
/// {QStyle::}{PM_LayoutLeftMargin}
/// {QStyle::}{PM_LayoutTopMargin}
/// {QStyle::}{PM_LayoutRightMargin}
/// {QStyle::}{PM_LayoutBottomMargin}


By default, QLayout uses the values provided by the style. On
most platforms, the margin is 11 pixels in all directions.


By default QLayout uses the values provided by the style . On most platforms the margin is 11 pixels in all directions .
pub fn contents_margins(&self) -> Margins {
        let (obj_data, funcs) = self.get_layout_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).contents_margins)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Margins::new_from_rc(t);
            } else {
                ret_val = Margins::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn contents_margins ( & self ) -> Margins { let ( obj_data , funcs ) = self . get_layout_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . contents_margins ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Margins :: new_from_rc ( t ) ; } else { ret_val = Margins :: new_from_owned ( t ) ; } ret_val } }
Extracts the left, top, right, and bottom margins used around the
layout, and assigns them to * *left,* * *top,* * *right,* and * *bottom* (unless they are null pointers).
Extracts the left top right and bottom margins used around the layout and assigns them to * * left * * * top * * * right * and * * bottom * ( unless they are null pointers ) .
&self
&self