pub fn from_app_image(image: AppImage<'a>) -> Self {
        Gbl {
            enc: NotEncrypted {
                app_info: *image.app_info(),
                sections: vec![ProgramData {
                    flash_addr: 0,
                    data: Blob(image.into_raw()),
                }],
            },
            sig: NotSigned::new(),
        }
    }
/// Creates a `Gbl` object from a raw application image.
///
/// The resulting GBL file will contain the [`AppInfo`] from the given image
/// as well as a single [`ProgramData`] section writing the raw image data
/// to the device flash.
///
/// [`AppInfo`]: struct.AppInfo.html
/// [`ProgramData`]: struct.ProgramData.html
Creates a `Gbl` object from a raw application image.
The resulting GBL file will contain the [`AppInfo`] from the given image
as well as a single [`ProgramData`] section writing the raw image data
to the device flash.


Creates a ` Gbl ` object from a raw application image . The resulting GBL file will contain the [ ` AppInfo ` ] from the given image as well as a single [ ` ProgramData ` ] section writing the raw image data to the device flash .
pub fn from_app_image(image: AppImage<'a>) -> Self {
        Gbl {
            enc: NotEncrypted {
                app_info: *image.app_info(),
                sections: vec![ProgramData {
                    flash_addr: 0,
                    data: Blob(image.into_raw()),
                }],
            },
            sig: NotSigned::new(),
        }
    }
pub fn from_app_image ( image : AppImage < ' a > ) -> Self { Gbl { enc : NotEncrypted { app_info : * image . app_info ( ) , sections : vec ! [ ProgramData { flash_addr 0 data Blob ( image into_raw ( ) ) } ] , } , sig : NotSigned :: new ( ) , } }
Creates a `Gbl` object from a raw application image.
Creates a ` Gbl ` object from a raw application image .
image
AppImage<'a>