Struct Empty

pub struct Empty;

Error: empty slice

This error is returned when Choose::new is given an empty slice.

Trait Implementations

impl Clone for Empty

fn clone(&self) -> Self

impl Copy for Empty

impl Debug for Empty

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for Empty

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Error for Empty

Auto Trait Implementations

impl Freeze for Empty

impl RefUnwindSafe for Empty

impl Send for Empty

impl Sync for Empty

impl Unpin for Empty

impl UnsafeUnpin for Empty

impl UnwindSafe for Empty

Blanket Implementations

impl<T> Any for Empty where T: 'static + ?Sized,

impl<T> Borrow<T> for Empty where T: ?Sized,

impl<T> BorrowMut<T> for Empty where T: ?Sized,

impl<T> CloneToUninit for Empty where T: Clone,

impl<T> From<T> for Empty

impl<T> ToOwned for Empty where T: Clone,

impl<T> ToString for Empty where T: Display + ?Sized,

impl<T, U> Into<U> for Empty where U: From<T>,

impl<T, U> TryFrom<U> for Empty where U: Into<T>,

impl<T, U> TryInto<U> for Empty where U: TryFrom<T>,