pub struct DerivedPreview {
pub attack_power: f32,
pub spell_power: f32,
pub evasion: f32,
pub carry_mass_max: f32,
pub sight_range_m: f32,
pub fov_deg: f32,
}Expand description
Derived combat/survival preview for character sheet UI.
Fields§
§attack_power: f32§spell_power: f32§evasion: f32§carry_mass_max: f32§sight_range_m: f32§fov_deg: f32Trait Implementations§
Source§impl Clone for DerivedPreview
impl Clone for DerivedPreview
Source§fn clone(&self) -> DerivedPreview
fn clone(&self) -> DerivedPreview
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DerivedPreview
Source§impl Debug for DerivedPreview
impl Debug for DerivedPreview
Source§impl PartialEq for DerivedPreview
impl PartialEq for DerivedPreview
impl StructuralPartialEq for DerivedPreview
Auto Trait Implementations§
impl Freeze for DerivedPreview
impl RefUnwindSafe for DerivedPreview
impl Send for DerivedPreview
impl Sync for DerivedPreview
impl Unpin for DerivedPreview
impl UnsafeUnpin for DerivedPreview
impl UnwindSafe for DerivedPreview
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