Home
last modified time | relevance | path

Searched refs:syntax_violation_callback (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/url/tests/
Dunit.rs755 .syntax_violation_callback(Some(&|v| violation.set(Some(v)))) in test_syntax_violation_callback()
773 .syntax_violation_callback(Some(&vfn)) in test_syntax_violation_callback_lifetimes()
780 .syntax_violation_callback(Some(&vfn)) in test_syntax_violation_callback_lifetimes()
808 .syntax_violation_callback(Some(&|v| violation.set(Some(v)))) in test_syntax_violation_callback_types()
825 let options = Url::options().syntax_violation_callback(Some(&vfn)); in test_options_reuse()
/external/rust/crates/url/src/
Dlib.rs234 pub fn syntax_violation_callback(mut self, new: Option<&'a dyn Fn(SyntaxViolation)>) -> Self { in syntax_violation_callback() method