pub unsafe trait PlaceBorrow<'a, P, X>{
const BORROW_KIND: BorrowKind;
// Required method
unsafe fn borrow(ptr: *const Self, p: &P) -> X;
}Expand description
Borrow a subplace.
Required Associated Constants§
Sourceconst BORROW_KIND: BorrowKind
const BORROW_KIND: BorrowKind
Tells the borrow-checker what other simultaneous and subsequent borrows are allowed.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".