#[repr(C, packed(1))]pub struct FastEnumerationState {
pub state: c_ulong,
pub items_ptr: *mut *mut Object,
pub mutations_ptr: *mut c_ulong,
pub extra: [c_ulong; 5],
}Expand description
Fast enumeration state structure.
C++ equivalent: NS::FastEnumerationState
Fields§
§state: c_ulongEnumeration state value.
items_ptr: *mut *mut ObjectPointer to items buffer.
mutations_ptr: *mut c_ulongPointer to mutations counter.
extra: [c_ulong; 5]Extra storage for implementation use.
Trait Implementations§
Source§impl Clone for FastEnumerationState
impl Clone for FastEnumerationState
Source§fn clone(&self) -> FastEnumerationState
fn clone(&self) -> FastEnumerationState
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 FastEnumerationState
impl Debug for FastEnumerationState
Source§impl Default for FastEnumerationState
impl Default for FastEnumerationState
impl Copy for FastEnumerationState
Auto Trait Implementations§
impl Freeze for FastEnumerationState
impl RefUnwindSafe for FastEnumerationState
impl !Send for FastEnumerationState
impl !Sync for FastEnumerationState
impl Unpin for FastEnumerationState
impl UnwindSafe for FastEnumerationState
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