pub struct DmgConfig {
pub background: Option<PathBuf>,
pub window_position: Option<Position>,
pub window_size: Size,
pub app_position: Position,
pub application_folder_position: Position,
}
Expand description
Configuration for Apple Disk Image (.dmg) bundles.
Fields§
§background: Option<PathBuf>
Image to use as the background in dmg file. Accepted formats: png
/jpg
/gif
.
window_position: Option<Position>
Position of volume window on screen.
window_size: Size
Size of volume window.
app_position: Position
Position of app file on window.
application_folder_position: Position
Position of application folder on window.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DmgConfig
impl<'de> Deserialize<'de> for DmgConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DmgConfig
impl StructuralPartialEq for DmgConfig
Auto Trait Implementations§
impl Freeze for DmgConfig
impl RefUnwindSafe for DmgConfig
impl Send for DmgConfig
impl Sync for DmgConfig
impl Unpin for DmgConfig
impl UnwindSafe for DmgConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.