pub struct WebAppManifestBuilder { /* private fields */ }
Implementations§
Source§impl WebAppManifestBuilder
impl WebAppManifestBuilder
pub fn background_color( self, background_color: impl Into<String>, ) -> WebAppManifestBuilder
pub fn description( self, description: impl Into<String>, ) -> WebAppManifestBuilder
pub fn dir(self, dir: impl Into<String>) -> WebAppManifestBuilder
pub fn display(self, display: impl Into<String>) -> WebAppManifestBuilder
pub fn display_override( self, display_override: impl Into<String>, ) -> WebAppManifestBuilder
pub fn display_overrides<I, S>( self, display_overrides: I, ) -> WebAppManifestBuilder
pub fn file_handler( self, file_handler: impl Into<FileHandler>, ) -> WebAppManifestBuilder
pub fn file_handlers<I, S>(self, file_handlers: I) -> WebAppManifestBuilder
pub fn icon(self, icon: impl Into<ImageResource>) -> WebAppManifestBuilder
pub fn icons<I, S>(self, icons: I) -> WebAppManifestBuilder
pub fn id(self, id: impl Into<String>) -> WebAppManifestBuilder
pub fn lang(self, lang: impl Into<String>) -> WebAppManifestBuilder
pub fn launch_handler( self, launch_handler: impl Into<LaunchHandler>, ) -> WebAppManifestBuilder
pub fn name(self, name: impl Into<String>) -> WebAppManifestBuilder
pub fn orientation( self, orientation: impl Into<String>, ) -> WebAppManifestBuilder
pub fn protocol_handler( self, protocol_handler: impl Into<ProtocolHandler>, ) -> WebAppManifestBuilder
pub fn protocol_handlers<I, S>( self, protocol_handlers: I, ) -> WebAppManifestBuilder
pub fn scope(self, scope: impl Into<String>) -> WebAppManifestBuilder
pub fn scope_extension( self, scope_extension: impl Into<ScopeExtension>, ) -> WebAppManifestBuilder
pub fn scope_extensions<I, S>( self, scope_extensions: I, ) -> WebAppManifestBuilder
pub fn screenshot( self, screenshot: impl Into<Screenshot>, ) -> WebAppManifestBuilder
pub fn screenshots<I, S>(self, screenshots: I) -> WebAppManifestBuilder
pub fn short_name(self, short_name: impl Into<String>) -> WebAppManifestBuilder
pub fn shortcut(self, shortcut: impl Into<Shortcut>) -> WebAppManifestBuilder
pub fn shortcuts<I, S>(self, shortcuts: I) -> WebAppManifestBuilder
pub fn start_url(self, start_url: impl Into<String>) -> WebAppManifestBuilder
pub fn theme_color( self, theme_color: impl Into<String>, ) -> WebAppManifestBuilder
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 copy 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more