pub struct Score<'a> {
pub name: &'a [u8],
pub matches: usize,
pub parents: usize,
}Expand description
One option as a framework detector scores it.
PHP: the option’s entries in detect()’s $frameworkMatches and
$fameworkParents.
Fields§
§name: &'a [u8]The option’s name (getName()).
matches: usizeHow many of its files and packages the inputs hold ([matches]).
parents: usizeHow many classes its PHP class extends (Framework::parents).
Trait Implementations§
impl<'a> Copy for Score<'a>
impl<'a> Eq for Score<'a>
impl<'a> StructuralPartialEq for Score<'a>
Auto Trait Implementations§
impl<'a> Forget for Score<'a>
impl<'a> Freeze for Score<'a>
impl<'a> Move for Score<'a>
impl<'a> RefUnwindSafe for Score<'a>
impl<'a> Send for Score<'a>
impl<'a> Sync for Score<'a>
impl<'a> Unpin for Score<'a>
impl<'a> UnsafeUnpin for Score<'a>
impl<'a> UnwindSafe for Score<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.