pub fn swap<F: FontTrait<'a>>(&self, other: &F) -> &Self {
        let (obj_other_1, _funcs) = other.get_font_obj_funcs();

        let (obj_data, funcs) = self.get_font_obj_funcs();
        unsafe {
            ((*funcs).swap)(obj_data, obj_other_1);
        }
        self
    }
///
/// Swaps this font instance with *other.* This function is very fast
/// and never fails.
Swaps this font instance with *other.* This function is very fast
and never fails.
Swaps this font instance with * other . * This function is very fast and never fails .
pub fn swap<F: FontTrait<'a>>(&self, other: &F) -> &Self {
        let (obj_other_1, _funcs) = other.get_font_obj_funcs();
        let (obj_data, funcs) = self.get_font_obj_funcs();
        unsafe {
            ((*funcs).swap)(obj_data, obj_other_1);
        }
        self
    }
pub fn swap < F : FontTrait < ' a > > ( & self , other : & F ) -> & Self { let ( obj_other_1 , _funcs ) = other . get_font_obj_funcs ( ) ; let ( obj_data , funcs ) = self . get_font_obj_funcs ( ) ; unsafe { ( ( * funcs ) . swap ) ( obj_data , obj_other_1 ) ; } self }
Swaps this font instance with *other.
Swaps this font instance with * other .
&self
other
&F
&self
other
&F