pub fn to_str(&self) -> String {
        let output = format!(
            "Sprite,{},{},\"{}\",{},{}\n{}\n",
            self.layer,
            self.origin,
            self.path,
            self.pos.x,
            self.pos.y,
            self.move_events
                .iter()
                .map(|event| event.to_line())
                .collect::<Vec<String>>()
                .join("\n")
        );
        output
    }
/// Returns the contents of the `Sprite`
///
/// **Warning**: this method is not meant to be used
Returns the contents of the `Sprite`
Warning**: this method is not meant to be used
Returns the contents of the ` Sprite ` Warning ** : this method is not meant to be used
pub fn to_str(&self) -> String {
        let output = format!(
            "Sprite,{},{},\"{}\",{},{}\n{}\n",
            self.layer,
            self.origin,
            self.path,
            self.pos.x,
            self.pos.y,
            self.move_events
                .iter()
                .map(|event| event.to_line())
                .collect::<Vec<String>>()
                .join("\n")
        );
        output
    }
pub fn to_str ( & self ) -> String { let output = format ! ( " \" \" \n \n " self layer self origin self path self pos x self pos y self move_events iter ( ) map ( event event to_line ( ) ) collect Vec String ( ) join ( " \n " ) ) ; output }
Returns the contents of the `Sprite`
Warning**: this method is not meant to be used
Returns the contents of the ` Sprite ` Warning ** : this method is not meant to be used
&self