pub struct GameConfig {
pub id: String,
pub name: String,
pub version: String,
pub author: String,
}Fields§
§id: String§name: String§version: StringTrait Implementations§
Source§impl Clone for GameConfig
impl Clone for GameConfig
Source§fn clone(&self) -> GameConfig
fn clone(&self) -> GameConfig
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 moreSource§impl Debug for GameConfig
impl Debug for GameConfig
impl Eq for GameConfig
Source§impl PartialEq for GameConfig
impl PartialEq for GameConfig
Source§fn eq(&self, other: &GameConfig) -> bool
fn eq(&self, other: &GameConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GameConfig
Auto Trait Implementations§
impl Freeze for GameConfig
impl RefUnwindSafe for GameConfig
impl Send for GameConfig
impl Sync for GameConfig
impl Unpin for GameConfig
impl UnsafeUnpin for GameConfig
impl UnwindSafe for GameConfig
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