pub struct CLang {
pub header_filename: String,
}Expand description
Struct implementing Lang for generating C GitVersions
Fields§
§header_filename: StringString that will be inside the #include macro
Trait Implementations§
Source§impl Lang for CLang
impl Lang for CLang
Source§fn get_prelude(&self) -> String
fn get_prelude(&self) -> String
Struct and or type definitions for a language
Source§fn fmt_version_getter(&self, git_version: &GitVersion) -> String
fn fmt_version_getter(&self, git_version: &GitVersion) -> String
Formatting of the
GitVersion into a getter (a function or variable) with the
languages syntaxAuto Trait Implementations§
impl Freeze for CLang
impl RefUnwindSafe for CLang
impl Send for CLang
impl Sync for CLang
impl Unpin for CLang
impl UnsafeUnpin for CLang
impl UnwindSafe for CLang
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