pub struct SettingsFileBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> SettingsFileBuilder<S>
impl<S: State> SettingsFileBuilder<S>
Sourcepub fn build(self) -> SettingsFilewhere
S: IsComplete,
pub fn build(self) -> SettingsFilewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn storage(self, value: Settings) -> SettingsFileBuilder<SetStorage<S>>where
S::Storage: IsUnset,
pub fn storage(self, value: Settings) -> SettingsFileBuilder<SetStorage<S>>where
S::Storage: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for SettingsFileBuilder<S>
impl<S = Empty> !RefUnwindSafe for SettingsFileBuilder<S>
impl<S = Empty> !Send for SettingsFileBuilder<S>
impl<S = Empty> !Sync for SettingsFileBuilder<S>
impl<S> Unpin for SettingsFileBuilder<S>
impl<S = Empty> !UnwindSafe for SettingsFileBuilder<S>
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