pub struct BuildSettingValues<T> { /* private fields */ }Expand description
One typed collection belonging to one explicitly present image-artifact key.
The enclosing setting establishes that its key was present. Consequently, values: [] is an
explicit empty/reset value, while omission is represented by the absence of that setting.
Repeated settings and values retain their declaration order and duplicate occurrences.
Implementations§
Source§impl<T> BuildSettingValues<T>
impl<T> BuildSettingValues<T>
Sourcepub const fn new(syntax: BuildSyntax, values: Vec<Sourced<T>>) -> Self
pub const fn new(syntax: BuildSyntax, values: Vec<Sourced<T>>) -> Self
Creates values for one explicitly present key.
Sourcepub const fn syntax(&self) -> BuildSyntax
pub const fn syntax(&self) -> BuildSyntax
Returns the source syntax family.
Trait Implementations§
Source§impl<T: Clone> Clone for BuildSettingValues<T>
impl<T: Clone> Clone for BuildSettingValues<T>
Source§fn clone(&self) -> BuildSettingValues<T>
fn clone(&self) -> BuildSettingValues<T>
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<T: Debug> Debug for BuildSettingValues<T>
impl<T: Debug> Debug for BuildSettingValues<T>
impl<T: Eq> Eq for BuildSettingValues<T>
Source§impl<T: PartialEq> PartialEq for BuildSettingValues<T>
impl<T: PartialEq> PartialEq for BuildSettingValues<T>
impl<T: PartialEq> StructuralPartialEq for BuildSettingValues<T>
Auto Trait Implementations§
impl<T> Freeze for BuildSettingValues<T>
impl<T> RefUnwindSafe for BuildSettingValues<T>where
T: RefUnwindSafe,
impl<T> Send for BuildSettingValues<T>where
T: Send,
impl<T> Sync for BuildSettingValues<T>where
T: Sync,
impl<T> Unpin for BuildSettingValues<T>where
T: Unpin,
impl<T> UnsafeUnpin for BuildSettingValues<T>
impl<T> UnwindSafe for BuildSettingValues<T>where
T: UnwindSafe,
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