pub struct SetBackgroundOpacityCommandBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> SetBackgroundOpacityCommandBuilder<S>
impl<S: State> SetBackgroundOpacityCommandBuilder<S>
Sourcepub fn build(self) -> SetBackgroundOpacityCommandwhere
S: IsComplete,
pub fn build(self) -> SetBackgroundOpacityCommandwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn opacity(
self,
value: f32,
) -> SetBackgroundOpacityCommandBuilder<SetOpacity<S>>where
S::Opacity: IsUnset,
pub fn opacity(
self,
value: f32,
) -> SetBackgroundOpacityCommandBuilder<SetOpacity<S>>where
S::Opacity: IsUnset,
Required.
Sourcepub fn match_window(
self,
value: String,
) -> SetBackgroundOpacityCommandBuilder<SetMatchWindow<S>>where
S::MatchWindow: IsUnset,
pub fn match_window(
self,
value: String,
) -> SetBackgroundOpacityCommandBuilder<SetMatchWindow<S>>where
S::MatchWindow: IsUnset,
Sourcepub fn maybe_match_window(
self,
value: Option<String>,
) -> SetBackgroundOpacityCommandBuilder<SetMatchWindow<S>>where
S::MatchWindow: IsUnset,
pub fn maybe_match_window(
self,
value: Option<String>,
) -> SetBackgroundOpacityCommandBuilder<SetMatchWindow<S>>where
S::MatchWindow: IsUnset,
Sourcepub fn match_tab(
self,
value: String,
) -> SetBackgroundOpacityCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
pub fn match_tab(
self,
value: String,
) -> SetBackgroundOpacityCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
Sourcepub fn maybe_match_tab(
self,
value: Option<String>,
) -> SetBackgroundOpacityCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
pub fn maybe_match_tab(
self,
value: Option<String>,
) -> SetBackgroundOpacityCommandBuilder<SetMatchTab<S>>where
S::MatchTab: IsUnset,
Sourcepub fn all(self, value: bool) -> SetBackgroundOpacityCommandBuilder<SetAll<S>>where
S::All: IsUnset,
pub fn all(self, value: bool) -> SetBackgroundOpacityCommandBuilder<SetAll<S>>where
S::All: IsUnset,
Sourcepub fn maybe_all(
self,
value: Option<bool>,
) -> SetBackgroundOpacityCommandBuilder<SetAll<S>>where
S::All: IsUnset,
pub fn maybe_all(
self,
value: Option<bool>,
) -> SetBackgroundOpacityCommandBuilder<SetAll<S>>where
S::All: IsUnset,
Sourcepub fn toggle(
self,
value: bool,
) -> SetBackgroundOpacityCommandBuilder<SetToggle<S>>where
S::Toggle: IsUnset,
pub fn toggle(
self,
value: bool,
) -> SetBackgroundOpacityCommandBuilder<SetToggle<S>>where
S::Toggle: IsUnset,
Sourcepub fn maybe_toggle(
self,
value: Option<bool>,
) -> SetBackgroundOpacityCommandBuilder<SetToggle<S>>where
S::Toggle: IsUnset,
pub fn maybe_toggle(
self,
value: Option<bool>,
) -> SetBackgroundOpacityCommandBuilder<SetToggle<S>>where
S::Toggle: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for SetBackgroundOpacityCommandBuilder<S>
impl<S> RefUnwindSafe for SetBackgroundOpacityCommandBuilder<S>
impl<S> Send for SetBackgroundOpacityCommandBuilder<S>
impl<S> Sync for SetBackgroundOpacityCommandBuilder<S>
impl<S> Unpin for SetBackgroundOpacityCommandBuilder<S>
impl<S> UnwindSafe for SetBackgroundOpacityCommandBuilder<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