pub struct BuildInfo { /* private fields */ }
Implementations§
Source§impl BuildInfo
impl BuildInfo
pub const fn new() -> Self
pub fn crate_name(&self) -> &'static str
pub fn scm_revision(&self) -> &'static str
pub fn scm_branch(&self) -> &'static str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuildInfo
impl RefUnwindSafe for BuildInfo
impl Send for BuildInfo
impl Sync for BuildInfo
impl Unpin for BuildInfo
impl UnwindSafe for BuildInfo
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