Struct factorio_blueprint::objects::ItemFilter [−][src]
pub struct ItemFilter {
pub name: Prototype,
pub index: OneBasedIndex,
}
Expand description
https://wiki.factorio.com/Blueprint_string_format#Item_filter_object
Fields
name: Prototype
index: OneBasedIndex
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ItemFilter
impl Send for ItemFilter
impl Sync for ItemFilter
impl Unpin for ItemFilter
impl UnwindSafe for ItemFilter
Blanket Implementations
Mutably borrows from an owned value. Read more