pub struct Data(pub PhantomMember<*mut BSExtraData, 0x0, 0x8>);
Expand description
Wrapper type for iterator
Tuple Fields§
§0: PhantomMember<*mut BSExtraData, 0x0, 0x8>
Implementations§
Source§impl Data
impl Data
Sourcepub fn iter(&self) -> BSExtraDataIter<'_> ⓘ
pub fn iter(&self) -> BSExtraDataIter<'_> ⓘ
It has a remove current
method, which only concatenates prev and next without drop
the current pointer.
This means memory leaks.
Sourcepub fn iter_mut(&mut self) -> BSExtraDataIterMut<'_> ⓘ
pub fn iter_mut(&mut self) -> BSExtraDataIterMut<'_> ⓘ
It has a remove current
method, which only drops
the current pointer and concatenates prev and next.
In other words, it completely deletes the data itself.
Trait Implementations§
Source§impl<'a> IntoIterator for &'a Data
impl<'a> IntoIterator for &'a Data
Source§impl<'a> IntoIterator for &'a mut Data
impl<'a> IntoIterator for &'a mut Data
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl !Send for Data
impl !Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
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