pub struct SetEnabledLayoutsCommandBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> SetEnabledLayoutsCommandBuilder<S>
impl<S: State> SetEnabledLayoutsCommandBuilder<S>
Sourcepub fn build(self) -> SetEnabledLayoutsCommandwhere
S: IsComplete,
pub fn build(self) -> SetEnabledLayoutsCommandwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn layouts(
self,
value: Vec<String>,
) -> SetEnabledLayoutsCommandBuilder<SetLayouts<S>>where
S::Layouts: IsUnset,
pub fn layouts(
self,
value: Vec<String>,
) -> SetEnabledLayoutsCommandBuilder<SetLayouts<S>>where
S::Layouts: IsUnset,
Required.
Sourcepub fn match_spec(
self,
value: String,
) -> SetEnabledLayoutsCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn match_spec(
self,
value: String,
) -> SetEnabledLayoutsCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn maybe_match_spec(
self,
value: Option<String>,
) -> SetEnabledLayoutsCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn maybe_match_spec(
self,
value: Option<String>,
) -> SetEnabledLayoutsCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn configured(
self,
value: bool,
) -> SetEnabledLayoutsCommandBuilder<SetConfigured<S>>where
S::Configured: IsUnset,
pub fn configured(
self,
value: bool,
) -> SetEnabledLayoutsCommandBuilder<SetConfigured<S>>where
S::Configured: IsUnset,
Sourcepub fn maybe_configured(
self,
value: Option<bool>,
) -> SetEnabledLayoutsCommandBuilder<SetConfigured<S>>where
S::Configured: IsUnset,
pub fn maybe_configured(
self,
value: Option<bool>,
) -> SetEnabledLayoutsCommandBuilder<SetConfigured<S>>where
S::Configured: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for SetEnabledLayoutsCommandBuilder<S>
impl<S> RefUnwindSafe for SetEnabledLayoutsCommandBuilder<S>
impl<S> Send for SetEnabledLayoutsCommandBuilder<S>
impl<S> Sync for SetEnabledLayoutsCommandBuilder<S>
impl<S> Unpin for SetEnabledLayoutsCommandBuilder<S>
impl<S> UnwindSafe for SetEnabledLayoutsCommandBuilder<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