pub struct KeyTypeBuf { /* private fields */ }
Implementations§
source§impl KeyTypeBuf
impl KeyTypeBuf
sourcepub fn new(
mods_mask: ModMask,
mods_mods: ModMask,
mods_vmods: VMod,
num_levels: u8,
has_preserve: bool,
map: &[KtMapEntry],
preserve: &[ModDef],
) -> KeyTypeBuf
pub fn new( mods_mask: ModMask, mods_mods: ModMask, mods_vmods: VMod, num_levels: u8, has_preserve: bool, map: &[KtMapEntry], preserve: &[ModDef], ) -> KeyTypeBuf
Construct a new KeyTypeBuf.
Trait Implementations§
source§impl Borrow<KeyType> for KeyTypeBuf
impl Borrow<KeyType> for KeyTypeBuf
source§impl Clone for KeyTypeBuf
impl Clone for KeyTypeBuf
source§fn clone(&self) -> KeyTypeBuf
fn clone(&self) -> KeyTypeBuf
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KeyTypeBuf
impl Debug for KeyTypeBuf
Auto Trait Implementations§
impl Freeze for KeyTypeBuf
impl RefUnwindSafe for KeyTypeBuf
impl Send for KeyTypeBuf
impl Sync for KeyTypeBuf
impl Unpin for KeyTypeBuf
impl UnwindSafe for KeyTypeBuf
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)