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