pub fn resize<S: SizeTrait<'a>>(&self, size: &S) -> &Self {
        let (obj_size_1, _funcs) = size.get_size_obj_funcs();

        let (obj_data, funcs) = self.get_backing_store_obj_funcs();
        unsafe {
            ((*funcs).resize)(obj_data, obj_size_1);
        }
        self
    }
///
/// Sets the size of the window surface to *size.*
///
/// **See also:** [`size()`]
Sets the size of the window surface to *size.
Sets the size of the window surface to * size .
pub fn resize<S: SizeTrait<'a>>(&self, size: &S) -> &Self {
        let (obj_size_1, _funcs) = size.get_size_obj_funcs();
        let (obj_data, funcs) = self.get_backing_store_obj_funcs();
        unsafe {
            ((*funcs).resize)(obj_data, obj_size_1);
        }
        self
    }
pub fn resize < S : SizeTrait < ' a > > ( & self , size : & S ) -> & Self { let ( obj_size_1 , _funcs ) = size . get_size_obj_funcs ( ) ; let ( obj_data , funcs ) = self . get_backing_store_obj_funcs ( ) ; unsafe { ( ( * funcs ) . resize ) ( obj_data , obj_size_1 ) ; } self }
Sets the size of the window surface to *size.
Sets the size of the window surface to * size .
&self
size
&S
&self
size
&S