pub fn swap<I: IconTrait<'a>>(&self, other: &I) -> &Self {
        let (obj_other_1, _funcs) = other.get_icon_obj_funcs();

        let (obj_data, funcs) = self.get_icon_obj_funcs();
        unsafe {
            ((*funcs).swap)(obj_data, obj_other_1);
        }
        self
    }
///
/// Swaps icon *other* with this icon. This operation is very
/// fast and never fails.
Swaps icon *other* with this icon. This operation is very
fast and never fails.
Swaps icon * other * with this icon . This operation is very fast and never fails .
pub fn swap<I: IconTrait<'a>>(&self, other: &I) -> &Self {
        let (obj_other_1, _funcs) = other.get_icon_obj_funcs();
        let (obj_data, funcs) = self.get_icon_obj_funcs();
        unsafe {
            ((*funcs).swap)(obj_data, obj_other_1);
        }
        self
    }
pub fn swap < I : IconTrait < ' a > > ( & self , other : & I ) -> & Self { let ( obj_other_1 , _funcs ) = other . get_icon_obj_funcs ( ) ; let ( obj_data , funcs ) = self . get_icon_obj_funcs ( ) ; unsafe { ( ( * funcs ) . swap ) ( obj_data , obj_other_1 ) ; } self }
Swaps icon *other* with this icon.
Swaps icon * other * with this icon .
&self
other
&I
&self
other
&I