/// Directory target struct.
#[derive(Debug, Clone, PartialEq, Eq)]pubstructDirTarget{/// The name of the directory target.
////// By default, it is a empty string.
pubname: String,
}implDirTarget{/// Create a new directory target.
////// ## Example
////// ```no_run
/// use get_dir::DirTarget;
////// let target: DirTarget = DirTarget::new("src");
/// ```
pubfnnew<N:Into<String>>(name: N)->Self{Self{ name: name.into()}}}implDefault forDirTarget{fndefault()->Self{Self::new("")}}