enum OutputsInner {
Fixed {
output_hash: OutputHash,
store_path: StorePath,
},
InputAddressed(BTreeMap<OutputName, StorePath>),
}Variants§
Fixed
InputAddressed(BTreeMap<OutputName, StorePath>)
Implementations§
Source§impl OutputsInner
impl OutputsInner
pub const fn new() -> Self
pub fn len(&self) -> usize
pub fn is_fixed(&self) -> bool
pub fn is_input_addressed(&self) -> bool
pub fn is_single(&self) -> bool
pub fn contains_key(&self, name: &OutputName) -> bool
pub fn get(&self, name: &OutputName) -> Option<&StorePath>
pub fn names(&self) -> OutputNames<'_> ⓘ
pub fn into_names(self) -> IntoOutputNames ⓘ
Sourcepub fn iter(&self) -> Iter<'_> ⓘ
pub fn iter(&self) -> Iter<'_> ⓘ
Gets an iterator over the entries of the outputs, sorted by name.
fn into_iter_internal(self) -> IntoIter ⓘ
Trait Implementations§
Source§impl Clone for OutputsInner
impl Clone for OutputsInner
Source§fn clone(&self) -> OutputsInner
fn clone(&self) -> OutputsInner
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 OutputsInner
impl Debug for OutputsInner
Source§impl Default for OutputsInner
impl Default for OutputsInner
Source§impl PartialEq for OutputsInner
impl PartialEq for OutputsInner
Source§fn eq(&self, other: &OutputsInner) -> bool
fn eq(&self, other: &OutputsInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OutputsInner
impl StructuralPartialEq for OutputsInner
Auto Trait Implementations§
impl Freeze for OutputsInner
impl RefUnwindSafe for OutputsInner
impl Send for OutputsInner
impl Sync for OutputsInner
impl Unpin for OutputsInner
impl UnsafeUnpin for OutputsInner
impl UnwindSafe for OutputsInner
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.