pub struct CloseTabCommandBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> CloseTabCommandBuilder<S>
impl<S: State> CloseTabCommandBuilder<S>
Sourcepub fn build(self) -> CloseTabCommandwhere
S: IsComplete,
pub fn build(self) -> CloseTabCommandwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn match_spec(
self,
value: String,
) -> CloseTabCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn match_spec(
self,
value: String,
) -> CloseTabCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn maybe_match_spec(
self,
value: Option<String>,
) -> CloseTabCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn maybe_match_spec(
self,
value: Option<String>,
) -> CloseTabCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn self_tab(self, value: bool) -> CloseTabCommandBuilder<SetSelfTab<S>>where
S::SelfTab: IsUnset,
pub fn self_tab(self, value: bool) -> CloseTabCommandBuilder<SetSelfTab<S>>where
S::SelfTab: IsUnset,
Sourcepub fn maybe_self_tab(
self,
value: Option<bool>,
) -> CloseTabCommandBuilder<SetSelfTab<S>>where
S::SelfTab: IsUnset,
pub fn maybe_self_tab(
self,
value: Option<bool>,
) -> CloseTabCommandBuilder<SetSelfTab<S>>where
S::SelfTab: IsUnset,
Sourcepub fn ignore_no_match(
self,
value: bool,
) -> CloseTabCommandBuilder<SetIgnoreNoMatch<S>>where
S::IgnoreNoMatch: IsUnset,
pub fn ignore_no_match(
self,
value: bool,
) -> CloseTabCommandBuilder<SetIgnoreNoMatch<S>>where
S::IgnoreNoMatch: IsUnset,
Sourcepub fn maybe_ignore_no_match(
self,
value: Option<bool>,
) -> CloseTabCommandBuilder<SetIgnoreNoMatch<S>>where
S::IgnoreNoMatch: IsUnset,
pub fn maybe_ignore_no_match(
self,
value: Option<bool>,
) -> CloseTabCommandBuilder<SetIgnoreNoMatch<S>>where
S::IgnoreNoMatch: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for CloseTabCommandBuilder<S>
impl<S> RefUnwindSafe for CloseTabCommandBuilder<S>
impl<S> Send for CloseTabCommandBuilder<S>
impl<S> Sync for CloseTabCommandBuilder<S>
impl<S> Unpin for CloseTabCommandBuilder<S>
impl<S> UnwindSafe for CloseTabCommandBuilder<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