pub struct Builder<R: Runtime> { /* private fields */ }
Expand description
Builder for the Svelte plugin.
Implementations§
Source§impl<R: Runtime> Builder<R>
impl<R: Runtime> Builder<R>
Sourcepub fn default_save_strategy(self, strategy: SaveStrategy) -> Self
pub fn default_save_strategy(self, strategy: SaveStrategy) -> Self
Sets the default save strategy to be used by the stores.
Sourcepub fn save_denylist(self, denylist: &[impl AsRef<str>]) -> Self
pub fn save_denylist(self, denylist: &[impl AsRef<str>]) -> Self
Sets a list of stores that should not be saved to disk.
Sourcepub fn sync_denylist(self, denylist: &[impl AsRef<str>]) -> Self
pub fn sync_denylist(self, denylist: &[impl AsRef<str>]) -> Self
Sets a list of stores that should not be synchronized across windows.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Builder<R>
impl<R> !RefUnwindSafe for Builder<R>
impl<R> Send for Builder<R>
impl<R> Sync for Builder<R>
impl<R> Unpin for Builder<R>
impl<R> !UnwindSafe for Builder<R>
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> 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