pub struct SavedEvent {
pub color: u32,
pub text: String,
pub kind: i32,
pub severity: i32,
pub cell: i32,
pub category: i32,
pub icon: i32,
}Expand description
One saved event-log entry (Game, 0x28 bytes in memory).
Fields§
§color: u32The colour of the entry, 0xAARRGGBB.
text: StringThe text.
kind: i32The kind of event.
severity: i32How serious the event is.
cell: i32The map cell it happened at (-1 for none).
category: i32The category the log filters by.
icon: i32The icon.
Trait Implementations§
Source§impl Clone for SavedEvent
impl Clone for SavedEvent
Source§fn clone(&self) -> SavedEvent
fn clone(&self) -> SavedEvent
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 SavedEvent
impl Debug for SavedEvent
Source§impl PartialEq for SavedEvent
impl PartialEq for SavedEvent
impl StructuralPartialEq for SavedEvent
Auto Trait Implementations§
impl Freeze for SavedEvent
impl RefUnwindSafe for SavedEvent
impl Send for SavedEvent
impl Sync for SavedEvent
impl Unpin for SavedEvent
impl UnsafeUnpin for SavedEvent
impl UnwindSafe for SavedEvent
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