pub struct NowInputActionDef {
pub code: InputActionCode,
pub flags: InputActionFlags,
}Fields§
§code: InputActionCode§flags: InputActionFlagsImplementations§
Source§impl NowInputActionDef
impl NowInputActionDef
pub fn new_enabled(code: InputActionCode) -> Self
pub fn new_disabled(code: InputActionCode) -> Self
Trait Implementations§
Source§impl Clone for NowInputActionDef
impl Clone for NowInputActionDef
Source§fn clone(&self) -> NowInputActionDef
fn clone(&self) -> NowInputActionDef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NowInputActionDef
impl Debug for NowInputActionDef
Source§impl<'dec> Decode<'dec> for NowInputActionDef
impl<'dec> Decode<'dec> for NowInputActionDef
fn decode_from(cursor: &mut Cursor<&'dec [u8]>) -> Result<Self, ProtoError>
fn decode(bytes: &'dec [u8]) -> Result<Self, ProtoError>
Source§impl Encode for NowInputActionDef
impl Encode for NowInputActionDef
fn encoded_len(&self) -> usize
fn encode_into<W: Write>(&self, writer: &mut W) -> Result<(), ProtoError>
fn encode(&self) -> Result<Vec<u8>, ProtoError>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for NowInputActionDef
impl RefUnwindSafe for NowInputActionDef
impl Send for NowInputActionDef
impl Sync for NowInputActionDef
impl Unpin for NowInputActionDef
impl UnsafeUnpin for NowInputActionDef
impl UnwindSafe for NowInputActionDef
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