pub struct ProgrammableLogicArray { /* private fields */ }
Implementations§
Source§impl ProgrammableLogicArray
impl ProgrammableLogicArray
pub fn new_null(in_size: usize, out_size: usize) -> ProgrammableLogicArray
pub fn new_rand(in_size: usize, out_size: usize) -> ProgrammableLogicArray
pub fn new_mutated( in_size: usize, out_size: usize, num_mutations: u32, ) -> ProgrammableLogicArray
pub fn random_mutation(&mut self)
pub fn calculate_output(&self, input: &Vec<bool>) -> Vec<bool>
pub fn print(&self)
Auto Trait Implementations§
impl Freeze for ProgrammableLogicArray
impl RefUnwindSafe for ProgrammableLogicArray
impl Send for ProgrammableLogicArray
impl Sync for ProgrammableLogicArray
impl Unpin for ProgrammableLogicArray
impl UnwindSafe for ProgrammableLogicArray
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