pub struct Mirror {
pub rules: Vec<Rule>,
pub lists: Vec<ExceptionList>,
pub items: Vec<ExceptionItem>,
}Expand description
The mirror read_mirror reads: every rule and exception-list file under
dir, with each list’s items array split out.
It does not apply the reference closure itself; the state command consuming
the mirror narrows lists/items to what the in-scope rules reference.
Fields§
§rules: Vec<Rule>§lists: Vec<ExceptionList>§items: Vec<ExceptionItem>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mirror
impl RefUnwindSafe for Mirror
impl Send for Mirror
impl Sync for Mirror
impl Unpin for Mirror
impl UnsafeUnpin for Mirror
impl UnwindSafe for Mirror
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