pub trait RefTargetExt {
    // Required methods
    fn as_normal(&self) -> Option<&CommitId>;
    fn is_absent(&self) -> bool;
    fn is_present(&self) -> bool;
    fn is_conflict(&self) -> bool;
    fn removes(&self) -> &[CommitId];
    fn adds(&self) -> &[CommitId];
}

Required Methods§

source

fn as_normal(&self) -> Option<&CommitId>

source

fn is_absent(&self) -> bool

source

fn is_present(&self) -> bool

source

fn is_conflict(&self) -> bool

source

fn removes(&self) -> &[CommitId]

source

fn adds(&self) -> &[CommitId]

Implementations on Foreign Types§

source§

impl RefTargetExt for Option<RefTarget>

source§

impl RefTargetExt for Option<&RefTarget>

Implementors§