pub struct StaticExampleSelector { /* private fields */ }Expand description
Trivial selector that always returns the entire example list,
optionally truncated to max. Useful when a fixed shot count is
desired without any dynamic logic.
Implementations§
Trait Implementations§
Source§impl Clone for StaticExampleSelector
impl Clone for StaticExampleSelector
Source§fn clone(&self) -> StaticExampleSelector
fn clone(&self) -> StaticExampleSelector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StaticExampleSelector
impl Debug for StaticExampleSelector
Source§impl Default for StaticExampleSelector
impl Default for StaticExampleSelector
Source§fn default() -> StaticExampleSelector
fn default() -> StaticExampleSelector
Returns the “default value” for a type. Read more
Source§impl<E> ExampleSelector<E> for StaticExampleSelector
impl<E> ExampleSelector<E> for StaticExampleSelector
Auto Trait Implementations§
impl Freeze for StaticExampleSelector
impl RefUnwindSafe for StaticExampleSelector
impl Send for StaticExampleSelector
impl Sync for StaticExampleSelector
impl Unpin for StaticExampleSelector
impl UnsafeUnpin for StaticExampleSelector
impl UnwindSafe for StaticExampleSelector
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