pub struct OwnerProjectionGraph { /* private fields */ }Expand description
One owner’s canonical conclusion-to-fact dependency graph.
Implementations§
Source§impl OwnerProjectionGraph
impl OwnerProjectionGraph
Sourcepub fn new(
owner: impl Into<String>,
dependencies: impl IntoIterator<Item = (ConclusionId, BTreeSet<FactId>)>,
) -> Result<Self, ClosureError>
pub fn new( owner: impl Into<String>, dependencies: impl IntoIterator<Item = (ConclusionId, BTreeSet<FactId>)>, ) -> Result<Self, ClosureError>
Constructs a local owner graph and rejects an empty owner or conclusion.
Trait Implementations§
Source§impl Clone for OwnerProjectionGraph
impl Clone for OwnerProjectionGraph
Source§fn clone(&self) -> OwnerProjectionGraph
fn clone(&self) -> OwnerProjectionGraph
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 OwnerProjectionGraph
impl Debug for OwnerProjectionGraph
impl Eq for OwnerProjectionGraph
Source§impl PartialEq for OwnerProjectionGraph
impl PartialEq for OwnerProjectionGraph
impl StructuralPartialEq for OwnerProjectionGraph
Auto Trait Implementations§
impl Freeze for OwnerProjectionGraph
impl RefUnwindSafe for OwnerProjectionGraph
impl Send for OwnerProjectionGraph
impl Sync for OwnerProjectionGraph
impl Unpin for OwnerProjectionGraph
impl UnsafeUnpin for OwnerProjectionGraph
impl UnwindSafe for OwnerProjectionGraph
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