#[non_exhaustive]pub struct MapIterVTable {
pub next: MapIterNextFn,
pub dealloc: MapIterDeallocFn,
}
Expand description
VTable for an iterator over a map
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.next: MapIterNextFn
cf. MapIterNextFn
dealloc: MapIterDeallocFn
cf. MapIterDeallocFn
Implementations§
Source§impl MapIterVTable
impl MapIterVTable
Sourcepub const fn builder() -> MapIterVTableBuilder
pub const fn builder() -> MapIterVTableBuilder
Returns a builder for MapIterVTable
Trait Implementations§
Source§impl Clone for MapIterVTable
impl Clone for MapIterVTable
Source§fn clone(&self) -> MapIterVTable
fn clone(&self) -> MapIterVTable
Returns a duplicate 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 MapIterVTable
impl Debug for MapIterVTable
Source§impl Hash for MapIterVTable
impl Hash for MapIterVTable
Source§impl PartialEq for MapIterVTable
impl PartialEq for MapIterVTable
impl Copy for MapIterVTable
impl Eq for MapIterVTable
impl StructuralPartialEq for MapIterVTable
Auto Trait Implementations§
impl Freeze for MapIterVTable
impl RefUnwindSafe for MapIterVTable
impl Send for MapIterVTable
impl Sync for MapIterVTable
impl Unpin for MapIterVTable
impl UnwindSafe for MapIterVTable
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