pub struct IdentityMapper;Expand description
Identity mapper — all type names pass through unchanged. Used as the default mapper when no backend-specific renaming is required.
Trait Implementations§
Source§impl TypeMapper for IdentityMapper
impl TypeMapper for IdentityMapper
Source§fn error_wrapper(&self) -> &str
fn error_wrapper(&self) -> &str
The error wrapper type for this language. e.g. “PyResult”, “napi::Result”, “PhpResult”
Auto Trait Implementations§
impl Freeze for IdentityMapper
impl RefUnwindSafe for IdentityMapper
impl Send for IdentityMapper
impl Sync for IdentityMapper
impl Unpin for IdentityMapper
impl UnsafeUnpin for IdentityMapper
impl UnwindSafe for IdentityMapper
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