Enum dockerfile_parser::StageParent
source · [−]Expand description
The parent image of a Docker build stage
Variants
Image(&'a ImageRef)
An externally-built image, potentially from a remote registry
Stage(usize)
An index of a previous stage within the current Dockerfile
Scratch
The empty (scratch) parent image
Trait Implementations
sourceimpl<'a> Clone for StageParent<'a>
impl<'a> Clone for StageParent<'a>
sourcefn clone(&self) -> StageParent<'a>
fn clone(&self) -> StageParent<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> Debug for StageParent<'a>
impl<'a> Debug for StageParent<'a>
sourceimpl<'a> Display for StageParent<'a>
impl<'a> Display for StageParent<'a>
sourceimpl<'a> PartialEq<StageParent<'a>> for StageParent<'a>
impl<'a> PartialEq<StageParent<'a>> for StageParent<'a>
sourcefn eq(&self, other: &StageParent<'a>) -> bool
fn eq(&self, other: &StageParent<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StageParent<'a>) -> bool
fn ne(&self, other: &StageParent<'a>) -> bool
This method tests for !=.
impl<'a> Eq for StageParent<'a>
impl<'a> StructuralEq for StageParent<'a>
impl<'a> StructuralPartialEq for StageParent<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for StageParent<'a>
impl<'a> Send for StageParent<'a>
impl<'a> Sync for StageParent<'a>
impl<'a> Unpin for StageParent<'a>
impl<'a> UnwindSafe for StageParent<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more