pub fn new_gpt<U: Into<Option<Uuid>>>(uuid: U, info: &Info) -> Gpt {
    let uuid = uuid.into();
    info!(?uuid, "Creating new GPT");
    Gpt::new(
        uuid.unwrap_or_else(Uuid::new_v4),
        info.disk_size,
        info.block_size,
    )
}
/// Create and return a new empty Gpt.
Create and return a new empty Gpt.
Create and return a new empty Gpt .
pub fn new_gpt<U: Into<Option<Uuid>>>(uuid: U, info: &Info) -> Gpt {
    let uuid = uuid.into();
    info!(?uuid, "Creating new GPT");
    Gpt::new(
        uuid.unwrap_or_else(Uuid::new_v4),
        info.disk_size,
        info.block_size,
    )
}
pub fn new_gpt < U : Into < Option < Uuid > > > ( uuid : U , info : & Info ) -> Gpt { let uuid = uuid . into ( ) ; info ! ( uuid " " ) ; Gpt :: new ( uuid . unwrap_or_else ( Uuid :: new_v4 ) , info . disk_size , info . block_size , ) }
Create and return a new empty Gpt.
Create and return a new empty Gpt .
uuid
U
info
&Info
uuid
U
info
&Info