Trait alpm_utils::AsTarg

source ·
pub trait AsTarg {
    // Required method
    fn as_targ(&self) -> Targ<'_>;
}
Expand description

Trait for being generic over Target and Targ

Required Methods§

source

fn as_targ(&self) -> Targ<'_>

Converts to a targ.

Implementors§

source§

impl AsTarg for Target

source§

impl<'a> AsTarg for Targ<'a>

source§

impl<T> AsTarg for T
where T: AsRef<str>,