pub struct BlockEntropy {
pub start_line: usize,
pub end_line: usize,
pub entropy: f64,
pub text: String,
}Expand description
A logical block of source code with its entropy score.
Fields§
§start_line: usize§end_line: usize§entropy: f64§text: StringTrait Implementations§
Source§impl Clone for BlockEntropy
impl Clone for BlockEntropy
Auto Trait Implementations§
impl Freeze for BlockEntropy
impl RefUnwindSafe for BlockEntropy
impl Send for BlockEntropy
impl Sync for BlockEntropy
impl Unpin for BlockEntropy
impl UnsafeUnpin for BlockEntropy
impl UnwindSafe for BlockEntropy
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