Trait hooks_gen::Owner

source ·
pub trait Owner: Clone + PartialEq {
    type Key: Key;

    // Required methods
    fn key(&self) -> Self::Key;
    fn shared_count(&self) -> usize;
}

Required Associated Types§

Required Methods§

source

fn key(&self) -> Self::Key

source

fn shared_count(&self) -> usize

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: 'static> Owner for Owner<T>

§

type Key = Key<T>