pub struct ElementPosition {
pub entity_idx: usize,
pub list_idx: usize,
}Expand description
Position of an element within a list variable.
Fields§
§entity_idx: usizeThe entity index that owns the list containing this element.
list_idx: usizeThe index of this element within the entity’s list.
Trait Implementations§
Source§impl Clone for ElementPosition
impl Clone for ElementPosition
Source§fn clone(&self) -> ElementPosition
fn clone(&self) -> ElementPosition
Returns a duplicate 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 ElementPosition
impl Debug for ElementPosition
Source§impl PartialEq for ElementPosition
impl PartialEq for ElementPosition
impl Copy for ElementPosition
impl Eq for ElementPosition
impl StructuralPartialEq for ElementPosition
Auto Trait Implementations§
impl Freeze for ElementPosition
impl RefUnwindSafe for ElementPosition
impl Send for ElementPosition
impl Sync for ElementPosition
impl Unpin for ElementPosition
impl UnwindSafe for ElementPosition
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