pub struct PluginRootChangeSet { /* private fields */ }Expand description
A complete change request that can coordinate multiple configurations and choices.
Implementations§
Source§impl PluginRootChangeSet
impl PluginRootChangeSet
pub const fn new() -> Self
pub fn with_configuration(self, change: PluginRootConfigurationChange) -> Self
Sourcepub fn with_dependency_choices(
self,
choices: impl IntoIterator<Item = DependencyChoice>,
) -> Self
pub fn with_dependency_choices( self, choices: impl IntoIterator<Item = DependencyChoice>, ) -> Self
Replaces the complete persisted choice set. An empty list adopts explicit empty intent.
pub fn configurations(&self) -> &[PluginRootConfigurationChange]
pub fn dependency_choices(&self) -> Option<&[DependencyChoice]>
Trait Implementations§
Source§impl Clone for PluginRootChangeSet
impl Clone for PluginRootChangeSet
Source§fn clone(&self) -> PluginRootChangeSet
fn clone(&self) -> PluginRootChangeSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginRootChangeSet
impl Debug for PluginRootChangeSet
Source§impl Default for PluginRootChangeSet
impl Default for PluginRootChangeSet
Source§fn default() -> PluginRootChangeSet
fn default() -> PluginRootChangeSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PluginRootChangeSet
impl RefUnwindSafe for PluginRootChangeSet
impl Send for PluginRootChangeSet
impl Sync for PluginRootChangeSet
impl Unpin for PluginRootChangeSet
impl UnsafeUnpin for PluginRootChangeSet
impl UnwindSafe for PluginRootChangeSet
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