pub fn count(&self) -> i32 {
        let (obj_data, funcs) = self.get_layout_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).count)(obj_data);
            ret_val
        }
    }
///
/// Must be implemented in subclasses to return the number of items
/// in the layout.
///
/// **See also:** [`item_at()`]
Must be implemented in subclasses to return the number of items
in the layout.


Must be implemented in subclasses to return the number of items in the layout .
pub fn count(&self) -> i32 {
        let (obj_data, funcs) = self.get_layout_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).count)(obj_data);
            ret_val
        }
    }
pub fn count ( & self ) -> i32 { let ( obj_data , funcs ) = self . get_layout_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . count ) ( obj_data ) ; ret_val } }
Must be implemented in subclasses to return the number of items
in the layout.
Must be implemented in subclasses to return the number of items in the layout .
&self
&self