pub struct FileHeatmap {
pub files: Vec<FileHeatmapEntry>,
pub total_files: usize,
pub aggregation_level: AggregationLevel,
}Expand description
ファイル変更ヒートマップ
Fields§
§files: Vec<FileHeatmapEntry>ファイル一覧(変更回数降順)
total_files: usize総ファイル数
aggregation_level: AggregationLevel現在の集約レベル
Implementations§
Source§impl FileHeatmap
impl FileHeatmap
Sourcepub fn file_count(&self) -> usize
pub fn file_count(&self) -> usize
ファイル数を取得
Sourcepub fn with_aggregation(&self, level: AggregationLevel) -> FileHeatmap
pub fn with_aggregation(&self, level: AggregationLevel) -> FileHeatmap
集約レベルを変更した新しいヒートマップを作成
Trait Implementations§
Source§impl Clone for FileHeatmap
impl Clone for FileHeatmap
Source§fn clone(&self) -> FileHeatmap
fn clone(&self) -> FileHeatmap
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 FileHeatmap
impl Debug for FileHeatmap
Source§impl Default for FileHeatmap
impl Default for FileHeatmap
Source§fn default() -> FileHeatmap
fn default() -> FileHeatmap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileHeatmap
impl RefUnwindSafe for FileHeatmap
impl Send for FileHeatmap
impl Sync for FileHeatmap
impl Unpin for FileHeatmap
impl UnwindSafe for FileHeatmap
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more