pub struct DmgConfig {
pub background: PathBuf,
pub window_size: [u32; 2],
pub icon_size: u32,
pub app_position: [u32; 2],
pub app_drop_link: [u32; 2],
}Fields§
§background: PathBuf§window_size: [u32; 2]§icon_size: u32§app_position: [u32; 2]§app_drop_link: [u32; 2]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
Auto Trait Implementations§
impl Freeze for DmgConfig
impl RefUnwindSafe for DmgConfig
impl Send for DmgConfig
impl Sync for DmgConfig
impl Unpin for DmgConfig
impl UnsafeUnpin 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