pub enum ForEachRefAtom {
Raw(String),
Color(String),
RefName {
source: ForEachRefNameSource,
format: ForEachRefNameFormat,
},
ObjectName {
peeled: bool,
abbrev: Option<usize>,
},
Identity {
peeled: bool,
role: ForEachRefAtomIdentityRole,
part: ForEachRefAtomIdentityPart,
},
ContentsLines {
peeled: bool,
count: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for ForEachRefAtom
impl Clone for ForEachRefAtom
Source§fn clone(&self) -> ForEachRefAtom
fn clone(&self) -> ForEachRefAtom
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 moreSource§impl Debug for ForEachRefAtom
impl Debug for ForEachRefAtom
impl Eq for ForEachRefAtom
Source§impl PartialEq for ForEachRefAtom
impl PartialEq for ForEachRefAtom
impl StructuralPartialEq for ForEachRefAtom
Auto Trait Implementations§
impl Freeze for ForEachRefAtom
impl RefUnwindSafe for ForEachRefAtom
impl Send for ForEachRefAtom
impl Sync for ForEachRefAtom
impl Unpin for ForEachRefAtom
impl UnsafeUnpin for ForEachRefAtom
impl UnwindSafe for ForEachRefAtom
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