pub struct DsStoreBuilder { /* private fields */ }Expand description
Builder for constructing a DsStore for a DMG installer layout.
Implementations§
Source§impl DsStoreBuilder
impl DsStoreBuilder
pub fn new(app_name: impl Into<String>, volume_name: impl Into<String>) -> Self
pub fn window_size(self, width: u32, height: u32) -> Self
pub fn icon_size(self, size: u32) -> Self
pub fn app_position(self, x: u32, y: u32) -> Self
pub fn apps_link_position(self, x: u32, y: u32) -> Self
Sourcepub fn build(self) -> DsStore
pub fn build(self) -> DsStore
Build the DsStore. The background filename is always DMG_BG_FILENAME.
Auto Trait Implementations§
impl Freeze for DsStoreBuilder
impl RefUnwindSafe for DsStoreBuilder
impl Send for DsStoreBuilder
impl Sync for DsStoreBuilder
impl Unpin for DsStoreBuilder
impl UnsafeUnpin for DsStoreBuilder
impl UnwindSafe for DsStoreBuilder
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