pub struct CppMappingScope { /* private fields */ }Expand description
Selects the C++ mapping on the current thread until dropped.
A scope and not a parameter because the mapping decides names in every function that spells a type path, and threading an argument through all of them would change signatures other columns share.
Implementations§
Source§impl CppMappingScope
impl CppMappingScope
Sourcepub fn enter(mapping: CppMapping) -> Self
pub fn enter(mapping: CppMapping) -> Self
Selects mapping on this thread.
Trait Implementations§
Source§impl Debug for CppMappingScope
impl Debug for CppMappingScope
Source§impl Drop for CppMappingScope
impl Drop for CppMappingScope
Auto Trait Implementations§
impl Freeze for CppMappingScope
impl RefUnwindSafe for CppMappingScope
impl Send for CppMappingScope
impl Sync for CppMappingScope
impl Unpin for CppMappingScope
impl UnsafeUnpin for CppMappingScope
impl UnwindSafe for CppMappingScope
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