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§
source§impl<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.
source§fn 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§
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