Enum babalcore::Skill [−][src]
Different skills.
Variants
Implementations
impl Skill
[src]
pub fn from_str(name: &str) -> Self
[src]
pub fn as_str(&self) -> &'static str
[src]
pub fn width(&self) -> usize
[src]
pub fn def_density(self) -> HashMap<SlabDef, f64>
[src]
pub fn def_density0(self) -> HashMap<SlabDef, f64>
[src]
pub fn mutability(&self) -> f64
[src]
pub fn time_to_complete(self) -> f64
[src]
pub fn begin_speed_factor(self) -> f64
[src]
pub fn end_speed_factor(self) -> f64
[src]
Trait Implementations
impl Clone for Skill
[src]
impl Copy for Skill
[src]
impl Debug for Skill
[src]
impl Default for Skill
[src]
impl Eq for Skill
[src]
impl PartialEq<Skill> for Skill
[src]
impl StructuralEq for Skill
[src]
impl StructuralPartialEq for Skill
[src]
Auto Trait Implementations
impl RefUnwindSafe for Skill
[src]
impl Send for Skill
[src]
impl Sync for Skill
[src]
impl Unpin for Skill
[src]
impl UnwindSafe for Skill
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,