pub struct WebAppManifestBuilder { /* private fields */ }Implementations§
Source§impl WebAppManifestBuilder
impl WebAppManifestBuilder
pub fn background_color(self, background_color: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
pub fn dir(self, dir: impl Into<String>) -> Self
pub fn display(self, display: impl Into<String>) -> Self
pub fn display_override(self, display_override: impl Into<String>) -> Self
pub fn display_overrides<I, S>(self, display_overrides: I) -> Self
pub fn file_handler(self, file_handler: impl Into<FileHandler>) -> Self
pub fn file_handlers<I, S>(self, file_handlers: I) -> Self
pub fn icon(self, icon: impl Into<ImageResource>) -> Self
pub fn icons<I, S>(self, icons: I) -> Self
pub fn id(self, id: impl Into<String>) -> Self
pub fn lang(self, lang: impl Into<String>) -> Self
pub fn launch_handler(self, launch_handler: impl Into<LaunchHandler>) -> Self
pub fn name(self, name: impl Into<String>) -> Self
pub fn orientation(self, orientation: impl Into<String>) -> Self
pub fn protocol_handler( self, protocol_handler: impl Into<ProtocolHandler>, ) -> Self
pub fn protocol_handlers<I, S>(self, protocol_handlers: I) -> Self
pub fn scope(self, scope: impl Into<String>) -> Self
pub fn scope_extension(self, scope_extension: impl Into<ScopeExtension>) -> Self
pub fn scope_extensions<I, S>(self, scope_extensions: I) -> Self
pub fn screenshot(self, screenshot: impl Into<Screenshot>) -> Self
pub fn screenshots<I, S>(self, screenshots: I) -> Self
pub fn short_name(self, short_name: impl Into<String>) -> Self
pub fn shortcut(self, shortcut: impl Into<Shortcut>) -> Self
pub fn shortcuts<I, S>(self, shortcuts: I) -> Self
pub fn start_url(self, start_url: impl Into<String>) -> Self
pub fn theme_color(self, theme_color: impl Into<String>) -> Self
pub fn build(self) -> WebAppManifest
Trait Implementations§
Source§impl Clone for WebAppManifestBuilder
impl Clone for WebAppManifestBuilder
Source§fn clone(&self) -> WebAppManifestBuilder
fn clone(&self) -> WebAppManifestBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for WebAppManifestBuilder
impl Default for WebAppManifestBuilder
Source§fn default() -> WebAppManifestBuilder
fn default() -> WebAppManifestBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WebAppManifestBuilder
impl RefUnwindSafe for WebAppManifestBuilder
impl Send for WebAppManifestBuilder
impl Sync for WebAppManifestBuilder
impl Unpin for WebAppManifestBuilder
impl UnwindSafe for WebAppManifestBuilder
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