[−][src]Struct df_st_core::df_world::creature::Creature
A Creature is a species that can exist in the world.
Fields
id: i32
Identifier for the creature.
id
must be unique for the whole world.
This value is not given from files but generated after parsing.
creature_id: Option<String>
name_singular: Option<String>
name_plural: Option<String>
biomes: CreatureBiome
The Biomes the creature will appear in.
all_castes_alive: Option<bool>
artificial_hiveable: Option<bool>
does_not_exist: Option<bool>
equipment: Option<bool>
equipment_wagon: Option<bool>
evil: Option<bool>
fanciful: Option<bool>
generated: Option<bool>
good: Option<bool>
has_any_benign: Option<bool>
has_any_can_swim: Option<bool>
has_any_cannot_breathe_air: Option<bool>
has_any_cannot_breathe_water: Option<bool>
has_any_carnivore: Option<bool>
has_any_common_domestic: Option<bool>
has_any_curious_beast: Option<bool>
has_any_demon: Option<bool>
has_any_feature_beast: Option<bool>
has_any_flier: Option<bool>
has_any_fly_race_gait: Option<bool>
has_any_grasp: Option<bool>
has_any_grazer: Option<bool>
has_any_has_blood: Option<bool>
has_any_immobile: Option<bool>
has_any_intelligent_learns: Option<bool>
has_any_intelligent_speaks: Option<bool>
has_any_large_predator: Option<bool>
has_any_local_pops_controllable: Option<bool>
has_any_local_pops_produce_heroes: Option<bool>
has_any_megabeast: Option<bool>
has_any_mischievous: Option<bool>
has_any_natural_animal: Option<bool>
has_any_night_creature: Option<bool>
has_any_night_creature_bogeyman: Option<bool>
has_any_night_creature_experimenter: Option<bool>
has_any_night_creature_hunter: Option<bool>
has_any_night_creature_nightmare: Option<bool>
has_any_not_fireimmune: Option<bool>
has_any_not_flier: Option<bool>
has_any_not_living: Option<bool>
has_any_outsider_controllable: Option<bool>
has_any_power: Option<bool>
has_any_race_gait: Option<bool>
has_any_semimegabeast: Option<bool>
has_any_slow_learner: Option<bool>
has_any_supernatural: Option<bool>
has_any_titan: Option<bool>
has_any_unique_demon: Option<bool>
has_any_utterances: Option<bool>
has_any_vermin_hateable: Option<bool>
has_any_vermin_micro: Option<bool>
has_female: Option<bool>
has_male: Option<bool>
large_roaming: Option<bool>
loose_clusters: Option<bool>
mates_to_breed: Option<bool>
mundane: Option<bool>
occurs_as_entity_race: Option<bool>
savage: Option<bool>
small_race: Option<bool>
two_genders: Option<bool>
ubiquitous: Option<bool>
vermin_eater: Option<bool>
vermin_fish: Option<bool>
vermin_grounder: Option<bool>
vermin_rotter: Option<bool>
vermin_soil: Option<bool>
vermin_soil_colony: Option<bool>
Implementations
impl Creature
[src]
Trait Implementations
impl Clone for Creature
[src]
impl Debug for Creature
[src]
impl Default for Creature
[src]
impl<'de> Deserialize<'de> for Creature
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Fillable for Creature
[src]
impl Filler<Creature, Creature> for Creature
[src]
fn add_missing_data(&mut self, source: &Creature)
[src]
fn never_replace_data(&mut self, source: &Creature)
[src]
fn replace_data(&mut self, source: &Creature)
[src]
fn add_missing_data_indexed(&mut self, source: &S, _index: u64)
[src]
fn check_mergeable(&self, source: &S) -> bool where
Self: Debug + Default + PartialEq<Self>,
S: PartialEq<Self> + Debug,
[src]
Self: Debug + Default + PartialEq<Self>,
S: PartialEq<Self> + Debug,
impl<__S> GraphQLType<__S> for Creature where
__S: ScalarValue,
&'__b __S: ScalarRefValue<'__b>,
[src]
__S: ScalarValue,
&'__b __S: ScalarRefValue<'__b>,
type Context = ()
The expected context type for this GraphQL type Read more
type TypeInfo = ()
Type that may carry additional schema information Read more
fn name(_: &Self::TypeInfo) -> Option<&str>
[src]
fn meta<'r>(
info: &Self::TypeInfo,
registry: &mut Registry<'r, __S>
) -> MetaType<'r, __S> where
__S: 'r,
&'z __S: ScalarRefValue<'z>,
[src]
info: &Self::TypeInfo,
registry: &mut Registry<'r, __S>
) -> MetaType<'r, __S> where
__S: 'r,
&'z __S: ScalarRefValue<'z>,
fn resolve_field(
&self,
_info: &(),
field: &str,
args: &Arguments<'_, __S>,
executor: &Executor<'_, Self::Context, __S>
) -> ExecutionResult<__S>
[src]
&self,
_info: &(),
field: &str,
args: &Arguments<'_, __S>,
executor: &Executor<'_, Self::Context, __S>
) -> ExecutionResult<__S>
fn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
[src]
fn resolve_into_type(
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
[src]
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
fn resolve(
&self,
info: &Self::TypeInfo,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Value<S>
[src]
&self,
info: &Self::TypeInfo,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Value<S>
impl Hash for Creature
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl JsonSchema for Creature
[src]
fn schema_name() -> String
[src]
fn json_schema(gen: &mut SchemaGenerator) -> Schema
[src]
fn is_referenceable() -> bool
impl PartialEq<Creature> for Creature
[src]
impl SchemaExample for Creature
[src]
impl Serialize for Creature
[src]
Auto Trait Implementations
impl RefUnwindSafe for Creature
impl Send for Creature
impl Sync for Creature
impl Unpin for Creature
impl UnwindSafe for Creature
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,