Skip to main content

lock_holds_against

Function lock_holds_against 

Source
pub fn lock_holds_against(
    cs: &str,
    copies_interface: impl FnOnce() -> bool,
) -> bool
Expand description

name_carries_lock for a known redefinition: copies_interface tells whether it takes an optional argument first with a default (takes_optional_first), which a lock against the files that holds only against copies of the binding’s interface (files_lock_holds) reads.