pub enum UpdateRefsMode {
Config,
Enabled,
Disabled,
}Variants§
Implementations§
Source§impl UpdateRefsMode
impl UpdateRefsMode
pub fn from_flags(update_refs: bool, no_update_refs: bool) -> Self
Trait Implementations§
Source§impl Clone for UpdateRefsMode
impl Clone for UpdateRefsMode
Source§fn clone(&self) -> UpdateRefsMode
fn clone(&self) -> UpdateRefsMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UpdateRefsMode
Source§impl Debug for UpdateRefsMode
impl Debug for UpdateRefsMode
impl Eq for UpdateRefsMode
Source§impl PartialEq for UpdateRefsMode
impl PartialEq for UpdateRefsMode
Source§fn eq(&self, other: &UpdateRefsMode) -> bool
fn eq(&self, other: &UpdateRefsMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateRefsMode
Auto Trait Implementations§
impl Freeze for UpdateRefsMode
impl RefUnwindSafe for UpdateRefsMode
impl Send for UpdateRefsMode
impl Sync for UpdateRefsMode
impl Unpin for UpdateRefsMode
impl UnsafeUnpin for UpdateRefsMode
impl UnwindSafe for UpdateRefsMode
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