pub struct Mailmap { /* private fields */ }
Expand description
A structure to represent a repository’s .mailmap file.
The representation cannot be written to disk.
Implementations
sourceimpl Mailmap
impl Mailmap
sourcepub fn from_buffer(buf: &str) -> Result<Mailmap, Error>
pub fn from_buffer(buf: &str) -> Result<Mailmap, Error>
Creates an in-memory mailmap object representing the given buffer.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mailmap
impl !Send for Mailmap
impl !Sync for Mailmap
impl Unpin for Mailmap
impl UnwindSafe for Mailmap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more