pub struct RiftObject {
pub object_id: ObjectId,
pub lifetime: f32,
pub max_lifetime: f32,
}Expand description
A rift object spawned from the chaos portal.
Fields§
§object_id: ObjectId§lifetime: f32§max_lifetime: f32Trait Implementations§
Source§impl Clone for RiftObject
impl Clone for RiftObject
Source§fn clone(&self) -> RiftObject
fn clone(&self) -> RiftObject
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 moreAuto Trait Implementations§
impl Freeze for RiftObject
impl RefUnwindSafe for RiftObject
impl Send for RiftObject
impl Sync for RiftObject
impl Unpin for RiftObject
impl UnsafeUnpin for RiftObject
impl UnwindSafe for RiftObject
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