pub struct HistorySection {
pub name: String,
pub text: String,
pub order: usize,
}
Expand description
Historical section or trivia associated with a MAME machine.
Fields§
§name: String
The name of the history section.
text: String
The text content of the history section.
order: usize
The order in which this section should appear.
Trait Implementations§
Source§impl Clone for HistorySection
impl Clone for HistorySection
Source§fn clone(&self) -> HistorySection
fn clone(&self) -> HistorySection
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 HistorySection
impl Debug for HistorySection
Source§impl<'de> Deserialize<'de> for HistorySection
impl<'de> Deserialize<'de> for HistorySection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HistorySection
impl RefUnwindSafe for HistorySection
impl Send for HistorySection
impl Sync for HistorySection
impl Unpin for HistorySection
impl UnwindSafe for HistorySection
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