pub struct PolyglotReport {
pub lang_count: usize,
pub entropy: f64,
pub dominant_lang: String,
pub dominant_lines: usize,
pub dominant_pct: f64,
}Fields§
§lang_count: usize§entropy: f64§dominant_lang: String§dominant_lines: usize§dominant_pct: f64Trait Implementations§
Source§impl Clone for PolyglotReport
impl Clone for PolyglotReport
Source§fn clone(&self) -> PolyglotReport
fn clone(&self) -> PolyglotReport
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 PolyglotReport
impl Debug for PolyglotReport
Source§impl<'de> Deserialize<'de> for PolyglotReport
impl<'de> Deserialize<'de> for PolyglotReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PolyglotReport
impl RefUnwindSafe for PolyglotReport
impl Send for PolyglotReport
impl Sync for PolyglotReport
impl Unpin for PolyglotReport
impl UnsafeUnpin for PolyglotReport
impl UnwindSafe for PolyglotReport
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