pub struct Modus<T>{
pub items: [Option<String>; 10],
pub hash_function: T,
pub detect_collisions: bool,
}
Fields§
§items: [Option<String>; 10]
§hash_function: T
§detect_collisions: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Modus<T>where
T: Freeze,
impl<T> RefUnwindSafe for Modus<T>where
T: RefUnwindSafe,
impl<T> Send for Modus<T>where
T: Send,
impl<T> Sync for Modus<T>where
T: Sync,
impl<T> Unpin for Modus<T>where
T: Unpin,
impl<T> UnwindSafe for Modus<T>where
T: UnwindSafe,
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