pub struct ProjectKindDependencyRule;Expand description
Denies framework and foundation dependencies on app projects.
Trait Implementations§
Source§impl Clone for ProjectKindDependencyRule
impl Clone for ProjectKindDependencyRule
Source§fn clone(&self) -> ProjectKindDependencyRule
fn clone(&self) -> ProjectKindDependencyRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProjectKindDependencyRule
impl Debug for ProjectKindDependencyRule
Source§impl Default for ProjectKindDependencyRule
impl Default for ProjectKindDependencyRule
Source§fn default() -> ProjectKindDependencyRule
fn default() -> ProjectKindDependencyRule
Returns the “default value” for a type. Read more
Source§impl PolicyRule for ProjectKindDependencyRule
impl PolicyRule for ProjectKindDependencyRule
Source§fn evaluate(
&self,
context: &PolicyContext<'_>,
) -> Result<Vec<Diagnostic>, RepoctlError>
fn evaluate( &self, context: &PolicyContext<'_>, ) -> Result<Vec<Diagnostic>, RepoctlError>
Evaluates the rule.
Auto Trait Implementations§
impl Freeze for ProjectKindDependencyRule
impl RefUnwindSafe for ProjectKindDependencyRule
impl Send for ProjectKindDependencyRule
impl Sync for ProjectKindDependencyRule
impl Unpin for ProjectKindDependencyRule
impl UnsafeUnpin for ProjectKindDependencyRule
impl UnwindSafe for ProjectKindDependencyRule
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