pub struct ProfileChanges { /* private fields */ }Expand description
Changes to several task kinds, keyed by the kind’s name as TOML writes it.
Implementations§
Source§impl ProfileChanges
impl ProfileChanges
Sourcepub fn with(self, kind: TaskKind, change: ProfileChange) -> Self
pub fn with(self, kind: TaskKind, change: ProfileChange) -> Self
Changes kind as change says.
Sourcepub fn apply(&self, profiles: TaskProfiles) -> TaskProfiles
pub fn apply(&self, profiles: TaskProfiles) -> TaskProfiles
profiles with every change applied.
Every pool tag the changes name, so the pool can be checked for them.
Trait Implementations§
Source§impl Clone for ProfileChanges
impl Clone for ProfileChanges
Source§impl Debug for ProfileChanges
impl Debug for ProfileChanges
Source§impl Default for ProfileChanges
impl Default for ProfileChanges
Source§impl<'de> Deserialize<'de> for ProfileChanges
impl<'de> Deserialize<'de> for ProfileChanges
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProfileChanges
impl PartialEq for ProfileChanges
Source§impl Serialize for ProfileChanges
impl Serialize for ProfileChanges
impl StructuralPartialEq for ProfileChanges
Auto Trait Implementations§
impl Freeze for ProfileChanges
impl RefUnwindSafe for ProfileChanges
impl Send for ProfileChanges
impl Sync for ProfileChanges
impl Unpin for ProfileChanges
impl UnsafeUnpin for ProfileChanges
impl UnwindSafe for ProfileChanges
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