pub(super) struct ReleaseGroup {
units: BTreeSet<String>,
}Expand description
Units that move to one version in one commit.
Fields§
§units: BTreeSet<String>Implementations§
Source§impl ReleaseGroup
impl ReleaseGroup
Sourcepub(super) fn ordered(
units: &[Unit],
proposed: &BTreeMap<String, Proposed>,
shared: &[BTreeSet<String>],
) -> Result<Vec<Self>, ProposalError>
pub(super) fn ordered( units: &[Unit], proposed: &BTreeMap<String, Proposed>, shared: &[BTreeSet<String>], ) -> Result<Vec<Self>, ProposalError>
Group the proposed units, each shared group as one and every other unit alone, so that a group follows the groups it depends on. Ties go by unit name.
Trait Implementations§
Source§impl Clone for ReleaseGroup
impl Clone for ReleaseGroup
Source§fn clone(&self) -> ReleaseGroup
fn clone(&self) -> ReleaseGroup
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 ReleaseGroup
impl Debug for ReleaseGroup
impl Eq for ReleaseGroup
Source§impl PartialEq for ReleaseGroup
impl PartialEq for ReleaseGroup
impl StructuralPartialEq for ReleaseGroup
Auto Trait Implementations§
impl Freeze for ReleaseGroup
impl RefUnwindSafe for ReleaseGroup
impl Send for ReleaseGroup
impl Sync for ReleaseGroup
impl Unpin for ReleaseGroup
impl UnsafeUnpin for ReleaseGroup
impl UnwindSafe for ReleaseGroup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.