pub struct DirectoryModRule {
pub rel_dir: &'static str,
pub mod_id_prefix: &'static str,
pub source_location: &'static str,
pub confidence: f64,
pub marker_file: Option<&'static str>,
pub marker_confidence: Option<f64>,
}Expand description
Treats each immediate subdirectory of rel_dir as one mod.
Fields§
§rel_dir: &'static str§mod_id_prefix: &'static str§source_location: &'static str§confidence: f64§marker_file: Option<&'static str>§marker_confidence: Option<f64>Implementations§
Trait Implementations§
Source§impl Clone for DirectoryModRule
impl Clone for DirectoryModRule
Source§fn clone(&self) -> DirectoryModRule
fn clone(&self) -> DirectoryModRule
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 DirectoryModRule
impl Debug for DirectoryModRule
impl Copy for DirectoryModRule
Auto Trait Implementations§
impl Freeze for DirectoryModRule
impl RefUnwindSafe for DirectoryModRule
impl Send for DirectoryModRule
impl Sync for DirectoryModRule
impl Unpin for DirectoryModRule
impl UnsafeUnpin for DirectoryModRule
impl UnwindSafe for DirectoryModRule
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