pub struct Enigma {
pub plugboard: Plugboard,
pub rotors: Vec<Rotor>,
pub reflector: Reflector,
}
Fields§
§plugboard: Plugboard
§rotors: Vec<Rotor>
§reflector: Reflector
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Enigma
impl RefUnwindSafe for Enigma
impl Send for Enigma
impl Sync for Enigma
impl Unpin for Enigma
impl UnwindSafe for Enigma
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