pub struct RidingState {
pub acceleration: &'static str,
pub direction: &'static str,
}Fields§
§acceleration: &'static str§direction: &'static strTrait Implementations§
Source§impl Clone for RidingState
impl Clone for RidingState
Source§fn clone(&self) -> RidingState
fn clone(&self) -> RidingState
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 RidingState
Source§impl Debug for RidingState
impl Debug for RidingState
Source§impl Default for RidingState
impl Default for RidingState
Source§fn default() -> RidingState
fn default() -> RidingState
Returns the “default value” for a type. Read more
Source§impl PartialEq for RidingState
impl PartialEq for RidingState
impl StructuralPartialEq for RidingState
Auto Trait Implementations§
impl Freeze for RidingState
impl RefUnwindSafe for RidingState
impl Send for RidingState
impl Sync for RidingState
impl Unpin for RidingState
impl UnsafeUnpin for RidingState
impl UnwindSafe for RidingState
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