pub struct ConformanceLayoutFactsExpectation {
pub visible_node_ids: Vec<NodeId>,
pub visible_edge_ids: Vec<EdgeId>,
pub edge_positions: Vec<ConformanceLayoutEdgePosition>,
pub connection_target: Option<ConformanceLayoutFactsConnectionTargetExpectation>,
}Fields§
§visible_node_ids: Vec<NodeId>§visible_edge_ids: Vec<EdgeId>§edge_positions: Vec<ConformanceLayoutEdgePosition>§connection_target: Option<ConformanceLayoutFactsConnectionTargetExpectation>Implementations§
Source§impl ConformanceLayoutFactsExpectation
impl ConformanceLayoutFactsExpectation
pub fn new( visible_node_ids: impl IntoIterator<Item = NodeId>, visible_edge_ids: impl IntoIterator<Item = EdgeId>, ) -> Self
pub fn with_edge_positions( self, edge_positions: impl IntoIterator<Item = ConformanceLayoutEdgePosition>, ) -> Self
pub fn with_connection_target( self, connection_target: ConformanceLayoutFactsConnectionTargetExpectation, ) -> Self
Trait Implementations§
Source§impl Clone for ConformanceLayoutFactsExpectation
impl Clone for ConformanceLayoutFactsExpectation
Source§fn clone(&self) -> ConformanceLayoutFactsExpectation
fn clone(&self) -> ConformanceLayoutFactsExpectation
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<'de> Deserialize<'de> for ConformanceLayoutFactsExpectation
impl<'de> Deserialize<'de> for ConformanceLayoutFactsExpectation
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
Source§impl PartialEq for ConformanceLayoutFactsExpectation
impl PartialEq for ConformanceLayoutFactsExpectation
Source§fn eq(&self, other: &ConformanceLayoutFactsExpectation) -> bool
fn eq(&self, other: &ConformanceLayoutFactsExpectation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConformanceLayoutFactsExpectation
Auto Trait Implementations§
impl Freeze for ConformanceLayoutFactsExpectation
impl RefUnwindSafe for ConformanceLayoutFactsExpectation
impl Send for ConformanceLayoutFactsExpectation
impl Sync for ConformanceLayoutFactsExpectation
impl Unpin for ConformanceLayoutFactsExpectation
impl UnsafeUnpin for ConformanceLayoutFactsExpectation
impl UnwindSafe for ConformanceLayoutFactsExpectation
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