Trait UnsafeBorrow

Source
pub unsafe trait UnsafeBorrow<'a> {
    type Borrow;

    // Required method
    unsafe fn borrow(&'a self) -> Self::Borrow;
}
Expand description

This is required to generalize TreeIterator with a single ::new method.

Required Associated Types§

Source

type Borrow

The type of the borrowed object.

Required Methods§

Source

unsafe fn borrow(&'a self) -> Self::Borrow

Borrows the object.

Implementors§