pub struct BrakedFile {
pub file: String,
pub indegree: usize,
}Expand description
A hub file the walk refused to widen THROUGH, and how many distinct other
files reference it. Kept in its own vec (separate from BrakedIface) so
that type, its tests and its JSON bytes are untouched when the file brake
never fires. Sorted widest-first then by path, the same total order, for the
same reason.
Fields§
§file: StringThe file value.
indegree: usizeThe indegree value.
Trait Implementations§
Source§impl Clone for BrakedFile
impl Clone for BrakedFile
Source§impl Debug for BrakedFile
impl Debug for BrakedFile
Source§impl PartialEq for BrakedFile
impl PartialEq for BrakedFile
impl StructuralPartialEq for BrakedFile
Auto Trait Implementations§
impl Freeze for BrakedFile
impl RefUnwindSafe for BrakedFile
impl Send for BrakedFile
impl Sync for BrakedFile
impl Unpin for BrakedFile
impl UnsafeUnpin for BrakedFile
impl UnwindSafe for BrakedFile
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