Skip to main content

ToBorrowKind

Trait ToBorrowKind 

Source
trait ToBorrowKind {
    // Required method
    fn to_borrow_kind(&self) -> BorrowKind;
}

Required Methods§

Source

fn to_borrow_kind(&self) -> BorrowKind

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToBorrowKind for AutoBorrowMutability

Source§

fn to_borrow_kind(&self) -> BorrowKind

Source§

impl ToBorrowKind for Mutability

Source§

fn to_borrow_kind(&self) -> BorrowKind

Implementors§