pub struct UncheckedCompleteness {}
Expand description
No-Op implementation of Completeness
.
Implementations§
Source§impl UncheckedCompleteness
impl UncheckedCompleteness
Sourcepub unsafe fn new() -> Self
pub unsafe fn new() -> Self
Constructs a new instance of UncheckedCompleteness
.
§Safety
Marked as unsafe
, as it does adhere to its contract (guaranteeing stability).
Unless you are sure you really need this, consider alternatives
such as [ImplicitClose
] or [ExplicitClose
].
Trait Implementations§
Source§impl<LABEL: Hash + Eq, DATA> Completeness<LABEL, DATA> for UncheckedCompleteness
impl<LABEL: Hash + Eq, DATA> Completeness<LABEL, DATA> for UncheckedCompleteness
type NewEdgeResult = ()
type GetEdgesResult<'rslv> = Vec<Scope> where Self: 'rslv, LABEL: 'rslv, DATA: 'rslv
fn cmpl_new_scope(&self, _: &InnerScopeGraph<'_, LABEL, DATA>, _: Scope)
fn cmpl_new_edge( &self, inner_scope_graph: &InnerScopeGraph<'_, LABEL, DATA>, src: Scope, lbl: LABEL, dst: Scope, ) -> Self::NewEdgeResult
fn cmpl_get_edges<'rslv>(
&self,
inner_scope_graph: &InnerScopeGraph<'_, LABEL, DATA>,
src: Scope,
lbl: LABEL,
) -> Self::GetEdgesResult<'rslv>where
LABEL: 'rslv,
DATA: 'rslv,
Source§fn cmpl_new_complete_scope(
&self,
inner_scope_graph: &InnerScopeGraph<'_, LABEL, DATA>,
scope: Scope,
)
fn cmpl_new_complete_scope( &self, inner_scope_graph: &InnerScopeGraph<'_, LABEL, DATA>, scope: Scope, )
Should initialize a scope without possibility to extend it with edges
Auto Trait Implementations§
impl Freeze for UncheckedCompleteness
impl RefUnwindSafe for UncheckedCompleteness
impl Send for UncheckedCompleteness
impl Sync for UncheckedCompleteness
impl Unpin for UncheckedCompleteness
impl UnwindSafe for UncheckedCompleteness
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