/// File target struct.
#[derive(Debug, Clone, PartialEq, Eq)]pubstructFileTarget{/// The name of the file target.
////// By default, it is a empty string.
pubname: String,
}implFileTarget{/// Create a new file target.
////// ## Example
////// ```no_run
/// use get_dir::FileTarget;
////// let target: FileTarget = FileTarget::new("Cargo.toml");
/// ```
pubfnnew<N:Into<String>>(name: N)->Self{Self{ name: name.into()}}}implDefault forFileTarget{fndefault()->Self{Self::new("")}}