pub struct Warrior {
pub program: Program,
pub metadata: Metadata,
}
Expand description
The main public struct used to represent a Redcode warrior
Fields§
§program: Program
§metadata: Metadata
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Warrior
impl RefUnwindSafe for Warrior
impl Send for Warrior
impl Sync for Warrior
impl Unpin for Warrior
impl UnwindSafe for Warrior
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