pub struct PatternEdge {
pub source_idx: usize,
pub target_idx: usize,
pub relation: Option<String>,
}Expand description
A directed edge in an antibody pattern.
Fields§
§source_idx: usizeIndex into AntibodyPattern::nodes for the edge source.
target_idx: usizeIndex into AntibodyPattern::nodes for the edge target.
relation: Option<String>Required edge relation string. None = any relation.
Trait Implementations§
Source§impl Clone for PatternEdge
impl Clone for PatternEdge
Source§fn clone(&self) -> PatternEdge
fn clone(&self) -> PatternEdge
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 PatternEdge
impl Debug for PatternEdge
Source§impl<'de> Deserialize<'de> for PatternEdge
impl<'de> Deserialize<'de> for PatternEdge
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 PatternEdge
impl RefUnwindSafe for PatternEdge
impl Send for PatternEdge
impl Sync for PatternEdge
impl Unpin for PatternEdge
impl UnsafeUnpin for PatternEdge
impl UnwindSafe for PatternEdge
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