pub struct MaterialsEvent {
pub raw: Vec<MaterialEventEntry>,
pub encoded: Vec<MaterialEventEntry>,
pub manufactured: Vec<MaterialEventEntry>,
}
Expand description
Fired during startup containing a list of material the player currently has.
Fields§
§raw: Vec<MaterialEventEntry>
List of raw materials the player has.
encoded: Vec<MaterialEventEntry>
List of encoded materials the player has.
manufactured: Vec<MaterialEventEntry>
List of manufactured materials the player has.
Trait Implementations§
Source§impl Clone for MaterialsEvent
impl Clone for MaterialsEvent
Source§fn clone(&self) -> MaterialsEvent
fn clone(&self) -> MaterialsEvent
Returns a copy 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 MaterialsEvent
impl Debug for MaterialsEvent
Source§impl<'de> Deserialize<'de> for MaterialsEvent
impl<'de> Deserialize<'de> for MaterialsEvent
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
Source§impl PartialEq for MaterialsEvent
impl PartialEq for MaterialsEvent
Source§impl Serialize for MaterialsEvent
impl Serialize for MaterialsEvent
impl StructuralPartialEq for MaterialsEvent
Auto Trait Implementations§
impl Freeze for MaterialsEvent
impl RefUnwindSafe for MaterialsEvent
impl Send for MaterialsEvent
impl Sync for MaterialsEvent
impl Unpin for MaterialsEvent
impl UnwindSafe for MaterialsEvent
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