pub struct PresetBuilder { /* private fields */ }
Expand description
Builder for PresetConfig
.
Implementations§
Source§impl PresetBuilder
impl PresetBuilder
Source§impl PresetBuilder
impl PresetBuilder
Sourcepub fn with_modifier(&mut self, f: Modifier) -> &mut Self
pub fn with_modifier(&mut self, f: Modifier) -> &mut Self
Add modifier that will apply in sequence
pub fn build(&mut self) -> Result<Config, ConfigBuilderError>
Trait Implementations§
Source§impl Clone for PresetBuilder
impl Clone for PresetBuilder
Source§fn clone(&self) -> PresetBuilder
fn clone(&self) -> PresetBuilder
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 moreAuto Trait Implementations§
impl Freeze for PresetBuilder
impl RefUnwindSafe for PresetBuilder
impl Send for PresetBuilder
impl Sync for PresetBuilder
impl Unpin for PresetBuilder
impl UnwindSafe for PresetBuilder
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