pub struct Mailmap { /* private fields */ }
Expand description
A structure to represent a repository’s .mailmap file.
The representation cannot be written to disk.
Implementations§
source§impl 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§
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