Skip to main content

standard_binding

Function standard_binding 

Source
pub fn standard_binding(
    receiver: &str,
    method: &str,
) -> Option<&'static StdBinding>
Expand description

The standard-library binding for receiver.method(...), a call on a value of receiver, if that method’s body has moved out of Rust.

Only StdBindingKind::Method entries answer here — an associated function of the same name, such as Duration’s builder half of millis, is a different binding and standard_associated_binding is what finds it.