pub struct LsCommandBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> LsCommandBuilder<S>
impl<S: State> LsCommandBuilder<S>
Sourcepub fn build(self) -> LsCommandwhere
S: IsComplete,
pub fn build(self) -> LsCommandwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn all_env_vars(self, value: bool) -> LsCommandBuilder<SetAllEnvVars<S>>where
S::AllEnvVars: IsUnset,
pub fn all_env_vars(self, value: bool) -> LsCommandBuilder<SetAllEnvVars<S>>where
S::AllEnvVars: IsUnset,
Sourcepub fn maybe_all_env_vars(
self,
value: Option<bool>,
) -> LsCommandBuilder<SetAllEnvVars<S>>where
S::AllEnvVars: IsUnset,
pub fn maybe_all_env_vars(
self,
value: Option<bool>,
) -> LsCommandBuilder<SetAllEnvVars<S>>where
S::AllEnvVars: IsUnset,
Sourcepub fn match_spec(self, value: String) -> LsCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn match_spec(self, value: String) -> LsCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn maybe_match_spec(
self,
value: Option<String>,
) -> LsCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn maybe_match_spec(
self,
value: Option<String>,
) -> LsCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn match_tab(self, value: String) -> LsCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
pub fn match_tab(self, value: String) -> LsCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
Sourcepub fn maybe_match_tab(
self,
value: Option<String>,
) -> LsCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
pub fn maybe_match_tab(
self,
value: Option<String>,
) -> LsCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
Sourcepub fn self_window(self, value: bool) -> LsCommandBuilder<SetSelfWindow<S>>where
S::SelfWindow: IsUnset,
pub fn self_window(self, value: bool) -> LsCommandBuilder<SetSelfWindow<S>>where
S::SelfWindow: IsUnset,
Sourcepub fn maybe_self_window(
self,
value: Option<bool>,
) -> LsCommandBuilder<SetSelfWindow<S>>where
S::SelfWindow: IsUnset,
pub fn maybe_self_window(
self,
value: Option<bool>,
) -> LsCommandBuilder<SetSelfWindow<S>>where
S::SelfWindow: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for LsCommandBuilder<S>
impl<S> RefUnwindSafe for LsCommandBuilder<S>
impl<S> Send for LsCommandBuilder<S>
impl<S> Sync for LsCommandBuilder<S>
impl<S> Unpin for LsCommandBuilder<S>
impl<S> UnwindSafe for LsCommandBuilder<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