[−][src]Trait bevy_property::Property
Required methods
fn type_name(&self) -> &str
fn any(&self) -> &dyn Any
fn any_mut(&mut self) -> &mut dyn Any
fn clone_prop(&self) -> Box<dyn Property>
fn set(&mut self, value: &dyn Property)
fn apply(&mut self, value: &dyn Property)
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
Provided methods
fn property_type(&self) -> PropertyType
fn as_properties(&self) -> Option<&dyn Properties>
Trait Implementations
impl PropertyVal for dyn Property
[src]
Implementations on Foreign Types
impl Property for Entity
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl Property for Vec2
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl Property for Vec3
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl Property for Mat3
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl Property for Mat4
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl Property for Quat
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl<T, I> Property for SmallVec<T> where
T: Clone + Send + Sync + Serialize + 'static + Array<Item = I>,
I: Send + Sync + Clone + Serialize + 'static,
[src]
T: Clone + Send + Sync + Serialize + 'static + Array<Item = I>,
I: Send + Sync + Clone + Serialize + 'static,
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl<T> Property for Vec<T> where
T: Property + Clone + Default,
[src]
T: Property + Clone + Default,
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn as_properties(&self) -> Option<&dyn Properties>
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl<T> Property for Option<T> where
T: Clone + Send + Sync + Serialize + for<'de> Deserialize<'de> + 'static,
[src]
T: Clone + Send + Sync + Serialize + for<'de> Deserialize<'de> + 'static,
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl<T, H> Property for HashSet<T, H> where
T: Clone + Eq + Send + Sync + Hash + Serialize + for<'de> Deserialize<'de> + 'static,
H: Clone + Send + Sync + Default + BuildHasher + 'static,
[src]
T: Clone + Eq + Send + Sync + Hash + Serialize + for<'de> Deserialize<'de> + 'static,
H: Clone + Send + Sync + Default + BuildHasher + 'static,
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl<K, V, H> Property for HashMap<K, V, H> where
K: Clone + Eq + Send + Sync + Hash + Serialize + for<'de> Deserialize<'de> + 'static,
V: Clone + Send + Sync + Serialize + for<'de> Deserialize<'de> + 'static,
H: Clone + Send + Sync + Default + BuildHasher + 'static,
[src]
K: Clone + Eq + Send + Sync + Hash + Serialize + for<'de> Deserialize<'de> + 'static,
V: Clone + Send + Sync + Serialize + for<'de> Deserialize<'de> + 'static,
H: Clone + Send + Sync + Default + BuildHasher + 'static,
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl<K, V> Property for BTreeMap<K, V> where
K: Clone + Ord + Send + Sync + Serialize + for<'de> Deserialize<'de> + 'static,
V: Clone + Send + Sync + Serialize + for<'de> Deserialize<'de> + 'static,
[src]
K: Clone + Ord + Send + Sync + Serialize + for<'de> Deserialize<'de> + 'static,
V: Clone + Send + Sync + Serialize + for<'de> Deserialize<'de> + 'static,
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl<T> Property for Range<T> where
T: Clone + Send + Sync + Serialize + for<'de> Deserialize<'de> + 'static,
[src]
T: Clone + Send + Sync + Serialize + for<'de> Deserialize<'de> + 'static,
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
fn property_type(&self) -> PropertyType
[src]
impl Property for String
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for bool
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for usize
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for u64
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for u32
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for u16
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for u8
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for isize
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for i64
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for i32
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for i16
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for i8
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for f32
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
impl Property for f64
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn serializable<'a>(
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
_registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
Implementors
impl Property for DynamicProperties
[src]
fn type_name(&self) -> &str
[src]
fn any(&self) -> &dyn Any
[src]
fn any_mut(&mut self) -> &mut dyn Any
[src]
fn clone_prop(&self) -> Box<dyn Property>
[src]
fn set(&mut self, value: &dyn Property)
[src]
fn apply(&mut self, value: &dyn Property)
[src]
fn as_properties(&self) -> Option<&dyn Properties>
[src]
fn serializable<'a>(
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>
[src]
&'a self,
registry: &'a PropertyTypeRegistry
) -> Serializable<'a>