pub struct Config {
pub query: String,
pub file_path: String,
pub ignore_case: bool,
}Expand description
配置结构体,存储查询字符串、文件路径以及是否忽略大小写的标志。
Fields§
§query: String查询字符串
file_path: String文件路径
ignore_case: bool是否忽略大小写
Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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