pub fn height_for_width(&self, arg0: i32) -> i32 {
        let (obj_data, funcs) = self.get_layout_item_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).height_for_width)(obj_data, arg0);
            ret_val
        }
    }
///
/// Returns the preferred height for this layout item, given the
/// width, which is not used in this default implementation.
///
/// The default implementation returns -1, indicating that the
/// preferred height is independent of the width of the item. Using
/// the function hasHeightForWidth() will typically be much faster
/// than calling this function and testing for -1.
///
/// Reimplement this function in layout managers that support height
/// for width. A typical implementation will look like this:
///
/// Caching is strongly recommended; without it layout will take
/// exponential time.
///
/// **See also:** [`has_height_for_width()`]
Returns the preferred height for this layout item, given the
width, which is not used in this default implementation.

The default implementation returns -1, indicating that the
preferred height is independent of the width of the item. Using
the function hasHeightForWidth() will typically be much faster
than calling this function and testing for -1.

Reimplement this function in layout managers that support height
for width. A typical implementation will look like this.

Caching is strongly recommended; without it layout will take
exponential time.


Returns the preferred height for this layout item given the width which is not used in this default implementation . The default implementation returns - 1 indicating that the preferred height is independent of the width of the item . Using the function hasHeightForWidth () will typically be much faster than calling this function and testing for - 1 . Reimplement this function in layout managers that support height for width . A typical implementation will look like this . Caching is strongly recommended ; without it layout will take exponential time .
pub fn height_for_width(&self, arg0: i32) -> i32 {
        let (obj_data, funcs) = self.get_layout_item_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).height_for_width)(obj_data, arg0);
            ret_val
        }
    }
pub fn height_for_width ( & self , arg0 : i32 ) -> i32 { let ( obj_data , funcs ) = self . get_layout_item_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . height_for_width ) ( obj_data , arg0 ) ; ret_val } }
Returns the preferred height for this layout item, given the
width, which is not used in this default implementation.
Returns the preferred height for this layout item given the width which is not used in this default implementation .
&self
arg0
i32
&self
arg0
i32