pub struct SdpViolation {
pub source_namespace: String,
pub target_namespace: String,
pub i_source: f64,
pub i_target: f64,
pub gap: f64,
}Expand description
An inter-namespace edge whose source is more stable than its target.
Fields§
§source_namespace: String§target_namespace: String§i_source: f64§i_target: f64§gap: f64i_target - i_source — positive by construction; larger = worse violation.
Trait Implementations§
Source§impl Clone for SdpViolation
impl Clone for SdpViolation
Source§fn clone(&self) -> SdpViolation
fn clone(&self) -> SdpViolation
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 SdpViolation
impl Debug for SdpViolation
Source§impl<'de> Deserialize<'de> for SdpViolation
impl<'de> Deserialize<'de> for SdpViolation
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
Auto Trait Implementations§
impl Freeze for SdpViolation
impl RefUnwindSafe for SdpViolation
impl Send for SdpViolation
impl Sync for SdpViolation
impl Unpin for SdpViolation
impl UnsafeUnpin for SdpViolation
impl UnwindSafe for SdpViolation
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