Skip to main content

field_is_borrowed_ref

Function field_is_borrowed_ref 

Source
fn field_is_borrowed_ref(ty: &Type) -> bool
Expand description

True if ty is a borrowed reference (&[T], &[T; N], &str, …). Such expansion fields can’t be reconstructed by value in the R→Rust reader.