pub struct GuardRuleFile { /* private fields */ }Expand description
A parsed Guard rule file, ready to be evaluated against any template.
The Guard parser borrows from the source text, so the file keeps the text and re-parses it per evaluation; a syntax error is still caught once, here, at load time.
Implementations§
Source§impl GuardRuleFile
impl GuardRuleFile
Trait Implementations§
Source§impl Clone for GuardRuleFile
impl Clone for GuardRuleFile
Auto Trait Implementations§
impl Freeze for GuardRuleFile
impl RefUnwindSafe for GuardRuleFile
impl Send for GuardRuleFile
impl Sync for GuardRuleFile
impl Unpin for GuardRuleFile
impl UnsafeUnpin for GuardRuleFile
impl UnwindSafe for GuardRuleFile
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