pub struct AbilityNode {
pub id: u32,
pub ability: Ability,
pub required_points: u32,
pub prerequisites: Vec<u32>,
pub position: (f32, f32),
pub unlocked: bool,
}Fields§
§id: u32§ability: Ability§required_points: u32§prerequisites: Vec<u32>§position: (f32, f32)§unlocked: boolTrait Implementations§
Source§impl Clone for AbilityNode
impl Clone for AbilityNode
Source§fn clone(&self) -> AbilityNode
fn clone(&self) -> AbilityNode
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 AbilityNode
impl RefUnwindSafe for AbilityNode
impl Send for AbilityNode
impl Sync for AbilityNode
impl Unpin for AbilityNode
impl UnsafeUnpin for AbilityNode
impl UnwindSafe for AbilityNode
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