pub struct YaraFile {
pub components: Vec<YaraFileComponent>,
}Expand description
A parsed Yara file.
Fields§
§components: Vec<YaraFileComponent>List of components contained in the file.
This enum form is required to keep the order in which rules and imports appear in the file. This is needed to properly resolve symbols to a rule or a module, or to properly use rules included by wildcard use of rule names in conditions.
Trait Implementations§
impl StructuralPartialEq for YaraFile
Auto Trait Implementations§
impl Freeze for YaraFile
impl RefUnwindSafe for YaraFile
impl Send for YaraFile
impl Sync for YaraFile
impl Unpin for YaraFile
impl UnwindSafe for YaraFile
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