pub struct SetSpacingCommandBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> SetSpacingCommandBuilder<S>
impl<S: State> SetSpacingCommandBuilder<S>
Sourcepub fn build(self) -> SetSpacingCommandwhere
S: IsComplete,
pub fn build(self) -> SetSpacingCommandwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn settings(
self,
value: Map<String, Value>,
) -> SetSpacingCommandBuilder<SetSettings<S>>where
S::Settings: IsUnset,
pub fn settings(
self,
value: Map<String, Value>,
) -> SetSpacingCommandBuilder<SetSettings<S>>where
S::Settings: IsUnset,
Required.
Sourcepub fn match_window(
self,
value: String,
) -> SetSpacingCommandBuilder<SetMatchWindow<S>>where
S::MatchWindow: IsUnset,
pub fn match_window(
self,
value: String,
) -> SetSpacingCommandBuilder<SetMatchWindow<S>>where
S::MatchWindow: IsUnset,
Sourcepub fn maybe_match_window(
self,
value: Option<String>,
) -> SetSpacingCommandBuilder<SetMatchWindow<S>>where
S::MatchWindow: IsUnset,
pub fn maybe_match_window(
self,
value: Option<String>,
) -> SetSpacingCommandBuilder<SetMatchWindow<S>>where
S::MatchWindow: IsUnset,
Sourcepub fn match_tab(
self,
value: String,
) -> SetSpacingCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
pub fn match_tab(
self,
value: String,
) -> SetSpacingCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
Sourcepub fn maybe_match_tab(
self,
value: Option<String>,
) -> SetSpacingCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
pub fn maybe_match_tab(
self,
value: Option<String>,
) -> SetSpacingCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
Sourcepub fn all(self, value: bool) -> SetSpacingCommandBuilder<SetAll<S>>where
S::All: IsUnset,
pub fn all(self, value: bool) -> SetSpacingCommandBuilder<SetAll<S>>where
S::All: IsUnset,
Sourcepub fn maybe_all(
self,
value: Option<bool>,
) -> SetSpacingCommandBuilder<SetAll<S>>where
S::All: IsUnset,
pub fn maybe_all(
self,
value: Option<bool>,
) -> SetSpacingCommandBuilder<SetAll<S>>where
S::All: IsUnset,
Sourcepub fn configured(
self,
value: bool,
) -> SetSpacingCommandBuilder<SetConfigured<S>>where
S::Configured: IsUnset,
pub fn configured(
self,
value: bool,
) -> SetSpacingCommandBuilder<SetConfigured<S>>where
S::Configured: IsUnset,
Sourcepub fn maybe_configured(
self,
value: Option<bool>,
) -> SetSpacingCommandBuilder<SetConfigured<S>>where
S::Configured: IsUnset,
pub fn maybe_configured(
self,
value: Option<bool>,
) -> SetSpacingCommandBuilder<SetConfigured<S>>where
S::Configured: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for SetSpacingCommandBuilder<S>
impl<S> RefUnwindSafe for SetSpacingCommandBuilder<S>
impl<S> Send for SetSpacingCommandBuilder<S>
impl<S> Sync for SetSpacingCommandBuilder<S>
impl<S> Unpin for SetSpacingCommandBuilder<S>
impl<S> UnwindSafe for SetSpacingCommandBuilder<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