pub struct GenerationContext { /* private fields */ }
Implementations§
Source§impl GenerationContext
impl GenerationContext
pub fn get_lint_messages(&self) -> Vec<LintMessage>
pub fn from(dofigen: Dofigen) -> Self
pub fn generate_dockerfile(&mut self) -> Result<String>
pub fn generate_dockerignore(&self) -> Result<String>
Trait Implementations§
Source§impl Clone for GenerationContext
impl Clone for GenerationContext
Source§fn clone(&self) -> GenerationContext
fn clone(&self) -> GenerationContext
Returns a copy of the value. Read more
1.0.0 · 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 GenerationContext
impl Debug for GenerationContext
Source§impl Default for GenerationContext
impl Default for GenerationContext
Source§fn default() -> GenerationContext
fn default() -> GenerationContext
Returns the “default value” for a type. Read more
Source§impl PartialEq for GenerationContext
impl PartialEq for GenerationContext
impl StructuralPartialEq for GenerationContext
Auto Trait Implementations§
impl Freeze for GenerationContext
impl RefUnwindSafe for GenerationContext
impl Send for GenerationContext
impl Sync for GenerationContext
impl Unpin for GenerationContext
impl UnwindSafe for GenerationContext
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