Struct wood::wooder::FieldScanning
source · pub struct FieldScanning<'a> {
pub v: &'a Wood,
pub li: &'a [Wood],
pub eye: usize,
}
Expand description
Used by woods_derive, but you can use it too if you want. It’s for scanning over structs with named pairs where the order is usually the same. Guesses that each queried field will be after the last, and only does a full scanaround when it finds that’s not the case.
Fields§
§v: &'a Wood
§li: &'a [Wood]
§eye: usize
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FieldScanning<'a>
impl<'a> RefUnwindSafe for FieldScanning<'a>
impl<'a> Send for FieldScanning<'a>
impl<'a> Sync for FieldScanning<'a>
impl<'a> Unpin for FieldScanning<'a>
impl<'a> UnwindSafe for FieldScanning<'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