fn write<W: Write>(&self, w: &mut W) -> io::Result<()> {
        w.write_all(Self::MAGIC)?;
        w.write_u32::<LittleEndian>(self.version)?;
        w.write_u32::<LittleEndian>(self.signature_type as u32)?;
        w.write_u32::<LittleEndian>(self.signature_location)?;
        self.app_info.write(w)?;
        Ok(())
    }
/// Writes the app properties, including the magic string, to `w`.
Writes the app properties, including the magic string, to `w`.
Writes the app properties including the magic string to ` w ` .
fn write<W: Write>(&self, w: &mut W) -> io::Result<()> {
        w.write_all(Self::MAGIC)?;
        w.write_u32::<LittleEndian>(self.version)?;
        w.write_u32::<LittleEndian>(self.signature_type as u32)?;
        w.write_u32::<LittleEndian>(self.signature_location)?;
        self.app_info.write(w)?;
        Ok(())
    }
fn write < W : Write > ( & self , w : & mut W ) -> io :: Result < ( ) > { w . write_all ( Self :: MAGIC ) ? ; w . write_u32 :: < LittleEndian > ( self . version ) ? ; w . write_u32 :: < LittleEndian > ( self . signature_type as u32 ) ? ; w . write_u32 :: < LittleEndian > ( self . signature_location ) ? ; self . app_info . write ( w ) ? ; Ok ( ( ) ) }
Writes the app properties, including the magic string, to `w`.
Writes the app properties including the magic string to ` w ` .
&self
w
&mut W