pub enum SolidHint {
Srp,
Ocp,
Lsp,
Isp,
Dip,
}Expand description
Which SOLID principle a node may be violating (populated in pass 2).
Variants§
Srp
Too many responsibilities in one type.
Ocp
Logic closed for extension but open for modification.
Lsp
Subtype breaks contract of supertype.
Isp
Interface has too many unrelated methods.
Dip
Depends on concrete type instead of abstraction.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SolidHint
impl<'de> Deserialize<'de> for SolidHint
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
impl Eq for SolidHint
impl StructuralPartialEq for SolidHint
Auto Trait Implementations§
impl Freeze for SolidHint
impl RefUnwindSafe for SolidHint
impl Send for SolidHint
impl Sync for SolidHint
impl Unpin for SolidHint
impl UnsafeUnpin for SolidHint
impl UnwindSafe for SolidHint
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