Enum frunk_core::indices::IdentityTransMog
source · pub enum IdentityTransMog {}
Expand description
Index for the case where we don’t need to do any transmogrifying at all because the source type is the same as the target type.
Trait Implementations
sourceimpl<Key, SourceValue> Transmogrifier<SourceValue, IdentityTransMog> for Field<Key, SourceValue>
impl<Key, SourceValue> Transmogrifier<SourceValue, IdentityTransMog> for Field<Key, SourceValue>
Implementation of Transmogrifier
for identity plucked Field
to Field
Transforms.
sourcefn transmogrify(self) -> SourceValue
fn transmogrify(self) -> SourceValue
Consume this current object and return an object of the Target type. Read more
Auto Trait Implementations
impl RefUnwindSafe for IdentityTransMog
impl Send for IdentityTransMog
impl Sync for IdentityTransMog
impl Unpin for IdentityTransMog
impl UnwindSafe for IdentityTransMog
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more