pub struct Run<'a> { /* private fields */ }Expand description
A primitive run’s elements, in the file’s order (read_num_array,
UnityPy TypeTreeHelper.cpp:86-264): exactly Self::len of them.
Implementations§
Source§impl Run<'_>
impl Run<'_>
Sourcepub fn each(&self, f: impl FnMut(Scalar) -> Option<()>) -> Option<()>
pub fn each(&self, f: impl FnMut(Scalar) -> Option<()>) -> Option<()>
Each element in order, until f refuses one (None).
Sourcepub fn each_into<E: Elements>(&self, to: &mut E) -> Option<()>
pub fn each_into<E: Elements>(&self, to: &mut E) -> Option<()>
Each element in order into to, until it refuses one (None): as
Self::each, for a sink whose Elements::element is to be
inlined into each kind’s loop.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Run<'a>
impl<'a> Freeze for Run<'a>
impl<'a> Move for Run<'a>
impl<'a> RefUnwindSafe for Run<'a>
impl<'a> Send for Run<'a>
impl<'a> Sync for Run<'a>
impl<'a> Unpin for Run<'a>
impl<'a> UnsafeUnpin for Run<'a>
impl<'a> UnwindSafe for Run<'a>
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