Struct derive_codegen::Generation
source · pub struct Generation { /* private fields */ }
Implementations§
source§impl Generation
impl Generation
pub fn for_tag(tag: &str) -> Self
pub fn include_tag(&mut self, tag: impl Into<String>) -> &mut Self
pub fn pipe_into<'a>(&'a self, command: &'a mut Command) -> GenerationCmd<'a>
pub fn as_arg_of<'a>(&'a self, command: &'a mut Command) -> GenerationCmd<'a>
pub fn to_input_json_pretty(&self) -> String
pub fn to_input_json(&self) -> String
Trait Implementations§
source§impl Clone for Generation
impl Clone for Generation
source§fn clone(&self) -> Generation
fn clone(&self) -> Generation
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 moreAuto Trait Implementations§
impl RefUnwindSafe for Generation
impl Send for Generation
impl Sync for Generation
impl Unpin for Generation
impl UnwindSafe for Generation
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