pub struct WorldAtom {
pub zone_id: u8,
pub shell: u8,
pub topology: u8,
pub active_ops: u64,
pub resonance: f32,
pub stability: f32,
pub owner_hash: u32,
pub angle: f32,
}Expand description
A single zone in the orbital world.
Fields§
§zone_id: u8§shell: u8§topology: u8Which of the 6 topology types (0-5)
active_ops: u64Bitfield for 55 operations (fits in u64)
resonance: f32Audio coupling strength [0, 1]
stability: f32Derived from substrate R
owner_hash: u32Hash of the player who owns this zone (0 = unowned)
angle: f32Angle on shell ring (radians)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WorldAtom
impl<'de> Deserialize<'de> for WorldAtom
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for WorldAtom
Auto Trait Implementations§
impl Freeze for WorldAtom
impl RefUnwindSafe for WorldAtom
impl Send for WorldAtom
impl Sync for WorldAtom
impl Unpin for WorldAtom
impl UnsafeUnpin for WorldAtom
impl UnwindSafe for WorldAtom
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