pub trait CompactBorrowMutwhere
    Self: From<Compact<Self>>,
    Compact<Self>: From<Self>,{
    type Target<'a>
       where Self: 'a;

    // Required method
    fn borrow_mut(compact: &mut Compact<Self>) -> Self::Target<'_>;
}
Expand description

Types that can be mutably borrowed from Compact. Typically derived from EnumPtr.

Required Associated Types§

source

type Target<'a> where Self: 'a

Required Methods§

source

fn borrow_mut(compact: &mut Compact<Self>) -> Self::Target<'_>

Implementors§