Struct tauri_utils::config::DmgConfig
source · 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.
See more: https://tauri.app/v1/api/config#dmgconfig
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.