pub enum YaraFileComponent {
Rule(Box<Rule>),
Import(Import),
Include(Include),
}Expand description
A top-level component of a Yara file.
Variants§
Rule(Box<Rule>)
A Yara rule
Import(Import)
A module import
Include(Include)
An include of another file
Trait Implementations§
Source§impl Clone for YaraFileComponent
impl Clone for YaraFileComponent
Source§fn clone(&self) -> YaraFileComponent
fn clone(&self) -> YaraFileComponent
Returns a duplicate of the value. Read more
1.0.0 · 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 YaraFileComponent
impl Debug for YaraFileComponent
Source§impl PartialEq for YaraFileComponent
impl PartialEq for YaraFileComponent
impl StructuralPartialEq for YaraFileComponent
Auto Trait Implementations§
impl Freeze for YaraFileComponent
impl RefUnwindSafe for YaraFileComponent
impl Send for YaraFileComponent
impl Sync for YaraFileComponent
impl Unpin for YaraFileComponent
impl UnwindSafe for YaraFileComponent
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