pub struct MarkerOwned;Expand description
Coherence hack for the ToIndex trait.
Trait Implementations§
Source§impl<T: IndexedValue> ToIndex<T, MarkerOwned> for T
impl<T: IndexedValue> ToIndex<T, MarkerOwned> for T
Source§fn to_index(self, domain: &IndexedDomain<T>) -> T::Index
fn to_index(self, domain: &IndexedDomain<T>) -> T::Index
Converts
self to an index over T.Auto Trait Implementations§
impl Freeze for MarkerOwned
impl RefUnwindSafe for MarkerOwned
impl Send for MarkerOwned
impl Sync for MarkerOwned
impl Unpin for MarkerOwned
impl UnwindSafe for MarkerOwned
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more