pub struct FrameworkContainer { /* private fields */ }
Implementations§
Source§impl FrameworkContainer
impl FrameworkContainer
Sourcepub fn add_framework(&self, framework: DetectFramework)
pub fn add_framework(&self, framework: DetectFramework)
add framework to project
pub fn add_language(&self, file_path: &str, language: &str)
pub fn append(&self, frameworks: &FrameworkContainer)
pub fn add_settings_file( &self, framework_name: &str, file_path: &str, file_name: &str, )
pub fn get(&self, index: usize) -> Option<DetectFramework>
Trait Implementations§
Source§impl Default for FrameworkContainer
impl Default for FrameworkContainer
Auto Trait Implementations§
impl !Freeze for FrameworkContainer
impl !RefUnwindSafe for FrameworkContainer
impl Send for FrameworkContainer
impl !Sync for FrameworkContainer
impl Unpin for FrameworkContainer
impl UnwindSafe for FrameworkContainer
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