pub enum PostBuildStep {
PatchFile {
path: &'static str,
find: &'static str,
replace: &'static str,
},
}Expand description
A post-build processing step.
Variants§
PatchFile
Replace all occurrences of find with replace in path (relative to crate dir).
Trait Implementations§
Source§impl Clone for PostBuildStep
impl Clone for PostBuildStep
Source§fn clone(&self) -> PostBuildStep
fn clone(&self) -> PostBuildStep
Returns a duplicate 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 Freeze for PostBuildStep
impl RefUnwindSafe for PostBuildStep
impl Send for PostBuildStep
impl Sync for PostBuildStep
impl Unpin for PostBuildStep
impl UnsafeUnpin for PostBuildStep
impl UnwindSafe for PostBuildStep
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