/// Writes the icon family to an ICNS file.
Writes the icon family to an ICNS file.
Writes the icon family to an ICNS file .
pub fn write<W: Write>(&self, mut writer: W) -> io::Result<()> {
        writer.write_all(ICNS_MAGIC_LITERAL)?;
        writer.write_u32::<BigEndian>(self.total_length())?;
        for element in &self.elements {
            element.write(writer.by_ref())?;
        }
        Ok(())
    }
pub fn write < W : Write > ( & self , mut writer : W ) -> io :: Result < ( ) > { writer . write_all ( ICNS_MAGIC_LITERAL ) ? ; writer . write_u32 :: < BigEndian > ( self . total_length ( ) ) ? ; for element in & self . elements { element . write ( writer . by_ref ( ) ) ? ; } Ok ( ( ) ) }
Writes the icon family to an ICNS file.
Writes the icon family to an ICNS file .
&self
writer
W