pub struct BrainfuckState<T: Integer> {
pub memory: Vec<T>,
pub pointer: usize,
}
Fields§
§memory: Vec<T>
§pointer: usize
Implementations§
Source§impl BrainfuckState<u8>
impl BrainfuckState<u8>
Source§impl BrainfuckState<u16>
impl BrainfuckState<u16>
Source§impl BrainfuckState<u32>
impl BrainfuckState<u32>
Source§impl BrainfuckState<u64>
impl BrainfuckState<u64>
Source§impl BrainfuckState<u128>
impl BrainfuckState<u128>
Source§impl BrainfuckState<usize>
impl BrainfuckState<usize>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for BrainfuckState<T>
impl<T> RefUnwindSafe for BrainfuckState<T>where
T: RefUnwindSafe,
impl<T> Send for BrainfuckState<T>where
T: Send,
impl<T> Sync for BrainfuckState<T>where
T: Sync,
impl<T> Unpin for BrainfuckState<T>where
T: Unpin,
impl<T> UnwindSafe for BrainfuckState<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