pub struct FrameworkDetector<'a> {
pub container: FrameworkContainer,
pub facets: Vec<Box<Facet>>,
/* private fields */
}
Expand description
Framework Detector
Fields§
§container: FrameworkContainer
§facets: Vec<Box<Facet>>
Implementations§
Source§impl<'a> FrameworkDetector<'a>
impl<'a> FrameworkDetector<'a>
Sourcepub fn detect<P: AsRef<Path>>(path: P) -> FrameworkDetector<'a>
pub fn detect<P: AsRef<Path>>(path: P) -> FrameworkDetector<'a>
return frameworks info os api
Examples
use framework::FrameworkDetector;
FrameworkDetector::detect("path");
pub fn build(&self) -> Frameworks
Trait Implementations§
Source§impl<'a> Default for FrameworkDetector<'a>
impl<'a> Default for FrameworkDetector<'a>
Auto Trait Implementations§
impl<'a> !Freeze for FrameworkDetector<'a>
impl<'a> !RefUnwindSafe for FrameworkDetector<'a>
impl<'a> !Send for FrameworkDetector<'a>
impl<'a> !Sync for FrameworkDetector<'a>
impl<'a> Unpin for FrameworkDetector<'a>
impl<'a> !UnwindSafe for FrameworkDetector<'a>
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