pub struct DefaultPolicy;Expand description
Default iteration policy with no bounds (iterates over all data)
Implementations§
Source§impl DefaultPolicy
impl DefaultPolicy
Trait Implementations§
Source§impl Default for DefaultPolicy
impl Default for DefaultPolicy
Source§impl Policy for DefaultPolicy
impl Policy for DefaultPolicy
Source§fn should_continue(&self, _context: &dyn Context<'_>) -> bool
fn should_continue(&self, _context: &dyn Context<'_>) -> bool
Determines if iteration should continue based on current context
Source§fn should_seek_begin(&self) -> bool
fn should_seek_begin(&self) -> bool
Determines if iterator should seek to beginning at start, default is true
Auto Trait Implementations§
impl Freeze for DefaultPolicy
impl RefUnwindSafe for DefaultPolicy
impl Send for DefaultPolicy
impl Sync for DefaultPolicy
impl Unpin for DefaultPolicy
impl UnsafeUnpin for DefaultPolicy
impl UnwindSafe for DefaultPolicy
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