pub struct FieldId(pub u32);Expand description
Identifies a field within a simulation world.
Fields are registered at world creation and assigned sequential IDs.
FieldId(n) corresponds to the n-th field in the world configuration.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl FromIterator<FieldId> for FieldSet
impl FromIterator<FieldId> for FieldSet
Source§impl Ord for FieldId
impl Ord for FieldId
Source§impl PartialOrd for FieldId
impl PartialOrd for FieldId
impl Copy for FieldId
impl Eq for FieldId
impl StructuralPartialEq for FieldId
Auto Trait Implementations§
impl Freeze for FieldId
impl RefUnwindSafe for FieldId
impl Send for FieldId
impl Sync for FieldId
impl Unpin for FieldId
impl UnsafeUnpin for FieldId
impl UnwindSafe for FieldId
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