pub struct FrontendInput {
pub controller1: ControllerState,
pub controller2: ControllerState,
pub reset: bool,
pub toggle_pause: bool,
pub step_frame: bool,
pub step_cpu_instruction: bool,
pub quit: bool,
}Fields§
§controller1: ControllerState§controller2: ControllerState§reset: bool§toggle_pause: bool§step_frame: bool§step_cpu_instruction: bool§quit: boolTrait Implementations§
Source§impl Clone for FrontendInput
impl Clone for FrontendInput
Source§fn clone(&self) -> FrontendInput
fn clone(&self) -> FrontendInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FrontendInput
Source§impl Debug for FrontendInput
impl Debug for FrontendInput
Source§impl Default for FrontendInput
impl Default for FrontendInput
Source§fn default() -> FrontendInput
fn default() -> FrontendInput
Returns the “default value” for a type. Read more
impl Eq for FrontendInput
Source§impl PartialEq for FrontendInput
impl PartialEq for FrontendInput
Source§fn eq(&self, other: &FrontendInput) -> bool
fn eq(&self, other: &FrontendInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrontendInput
Auto Trait Implementations§
impl Freeze for FrontendInput
impl RefUnwindSafe for FrontendInput
impl Send for FrontendInput
impl Sync for FrontendInput
impl Unpin for FrontendInput
impl UnsafeUnpin for FrontendInput
impl UnwindSafe for FrontendInput
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