Struct amethyst_core::transform::components::Parent [−][src]
pub struct Parent {
pub entity: Entity,
}Component for defining a parent entity.
The entity with this component has a parent, rather than is a parent.
Fields
entity: Entity
The parent entity
Trait Implementations
impl Debug for Parent[src]
impl Debug for Parentfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Parent[src]
impl Clone for Parentfn clone(&self) -> Parent[src]
fn clone(&self) -> ParentReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Eq for Parent[src]
impl Eq for Parentimpl Ord for Parent[src]
impl Ord for Parentfn cmp(&self, other: &Parent) -> Ordering[src]
fn cmp(&self, other: &Parent) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl PartialEq for Parent[src]
impl PartialEq for Parentfn eq(&self, other: &Parent) -> bool[src]
fn eq(&self, other: &Parent) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Parent) -> bool[src]
fn ne(&self, other: &Parent) -> boolThis method tests for !=.
impl PartialOrd for Parent[src]
impl PartialOrd for Parentfn partial_cmp(&self, other: &Parent) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Parent) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Parent) -> bool[src]
fn lt(&self, other: &Parent) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Parent) -> bool[src]
fn le(&self, other: &Parent) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Parent) -> bool[src]
fn gt(&self, other: &Parent) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Parent) -> bool[src]
fn ge(&self, other: &Parent) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Component for Parent[src]
impl Component for Parenttype Storage = FlaggedStorage<Self, DenseVecStorage<Self>>
Associated storage type for this component.
impl HParent for Parent[src]
impl HParent for Parentfn parent_entity(&self) -> Entity[src]
fn parent_entity(&self) -> EntityRetrieves the parent Entity.