#[repr(C)]pub struct asdf_sequence_iter_t {
pub value: *mut c_void,
pub index: c_int,
}Expand description
The public head of a sequence iterator, mirroring asdf_sequence_iter_t.
The header puts value first and index second; the order is the ABI,
and getting it backwards hands C a garbage index and a garbage pointer.
Fields§
§value: *mut c_voidThe current item.
index: c_intThe current index.
Trait Implementations§
Auto Trait Implementations§
impl !Send for asdf_sequence_iter_t
impl !Sync for asdf_sequence_iter_t
impl Freeze for asdf_sequence_iter_t
impl RefUnwindSafe for asdf_sequence_iter_t
impl Unpin for asdf_sequence_iter_t
impl UnsafeUnpin for asdf_sequence_iter_t
impl UnwindSafe for asdf_sequence_iter_t
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