pub struct GetTextCommandBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> GetTextCommandBuilder<S>
impl<S: State> GetTextCommandBuilder<S>
Sourcepub fn build(self) -> GetTextCommandwhere
S: IsComplete,
pub fn build(self) -> GetTextCommandwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn match_spec(self, value: String) -> GetTextCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn match_spec(self, value: String) -> GetTextCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn maybe_match_spec(
self,
value: Option<String>,
) -> GetTextCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn maybe_match_spec(
self,
value: Option<String>,
) -> GetTextCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn extent(self, value: String) -> GetTextCommandBuilder<SetExtent<S>>where
S::Extent: IsUnset,
pub fn extent(self, value: String) -> GetTextCommandBuilder<SetExtent<S>>where
S::Extent: IsUnset,
Sourcepub fn maybe_extent(
self,
value: Option<String>,
) -> GetTextCommandBuilder<SetExtent<S>>where
S::Extent: IsUnset,
pub fn maybe_extent(
self,
value: Option<String>,
) -> GetTextCommandBuilder<SetExtent<S>>where
S::Extent: IsUnset,
Sourcepub fn ansi(self, value: bool) -> GetTextCommandBuilder<SetAnsi<S>>where
S::Ansi: IsUnset,
pub fn ansi(self, value: bool) -> GetTextCommandBuilder<SetAnsi<S>>where
S::Ansi: IsUnset,
Sourcepub fn maybe_ansi(
self,
value: Option<bool>,
) -> GetTextCommandBuilder<SetAnsi<S>>where
S::Ansi: IsUnset,
pub fn maybe_ansi(
self,
value: Option<bool>,
) -> GetTextCommandBuilder<SetAnsi<S>>where
S::Ansi: IsUnset,
Sourcepub fn cursor(self, value: bool) -> GetTextCommandBuilder<SetCursor<S>>where
S::Cursor: IsUnset,
pub fn cursor(self, value: bool) -> GetTextCommandBuilder<SetCursor<S>>where
S::Cursor: IsUnset,
Sourcepub fn maybe_cursor(
self,
value: Option<bool>,
) -> GetTextCommandBuilder<SetCursor<S>>where
S::Cursor: IsUnset,
pub fn maybe_cursor(
self,
value: Option<bool>,
) -> GetTextCommandBuilder<SetCursor<S>>where
S::Cursor: IsUnset,
Sourcepub fn wrap_markers(
self,
value: bool,
) -> GetTextCommandBuilder<SetWrapMarkers<S>>where
S::WrapMarkers: IsUnset,
pub fn wrap_markers(
self,
value: bool,
) -> GetTextCommandBuilder<SetWrapMarkers<S>>where
S::WrapMarkers: IsUnset,
Sourcepub fn maybe_wrap_markers(
self,
value: Option<bool>,
) -> GetTextCommandBuilder<SetWrapMarkers<S>>where
S::WrapMarkers: IsUnset,
pub fn maybe_wrap_markers(
self,
value: Option<bool>,
) -> GetTextCommandBuilder<SetWrapMarkers<S>>where
S::WrapMarkers: IsUnset,
Sourcepub fn clear_selection(
self,
value: bool,
) -> GetTextCommandBuilder<SetClearSelection<S>>where
S::ClearSelection: IsUnset,
pub fn clear_selection(
self,
value: bool,
) -> GetTextCommandBuilder<SetClearSelection<S>>where
S::ClearSelection: IsUnset,
Sourcepub fn maybe_clear_selection(
self,
value: Option<bool>,
) -> GetTextCommandBuilder<SetClearSelection<S>>where
S::ClearSelection: IsUnset,
pub fn maybe_clear_selection(
self,
value: Option<bool>,
) -> GetTextCommandBuilder<SetClearSelection<S>>where
S::ClearSelection: IsUnset,
Sourcepub fn self_window(self, value: bool) -> GetTextCommandBuilder<SetSelfWindow<S>>where
S::SelfWindow: IsUnset,
pub fn self_window(self, value: bool) -> GetTextCommandBuilder<SetSelfWindow<S>>where
S::SelfWindow: IsUnset,
Sourcepub fn maybe_self_window(
self,
value: Option<bool>,
) -> GetTextCommandBuilder<SetSelfWindow<S>>where
S::SelfWindow: IsUnset,
pub fn maybe_self_window(
self,
value: Option<bool>,
) -> GetTextCommandBuilder<SetSelfWindow<S>>where
S::SelfWindow: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for GetTextCommandBuilder<S>
impl<S> RefUnwindSafe for GetTextCommandBuilder<S>
impl<S> Send for GetTextCommandBuilder<S>
impl<S> Sync for GetTextCommandBuilder<S>
impl<S> Unpin for GetTextCommandBuilder<S>
impl<S> UnwindSafe for GetTextCommandBuilder<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