pub enum Pretty {
Describe,
Pattern(String),
}Expand description
How to generate upstream version string from git tags
Variants§
Describe
Use git describe to generate the version string
Pattern(String)
Use a custom pattern to generate the version string
Trait Implementations§
impl Eq for Pretty
impl StructuralPartialEq for Pretty
Auto Trait Implementations§
impl Freeze for Pretty
impl RefUnwindSafe for Pretty
impl Send for Pretty
impl Sync for Pretty
impl Unpin for Pretty
impl UnwindSafe for Pretty
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