[−][src]Struct reefast::dh::Attr
Dogma attribute data.
Fields
id: ReeInt
Dogma attribute ID.
stackable: bool
Defines if modifications applied to the attribute's values stack with penalty (false) or not (true).
high_is_good: bool
Defines if higher value of the attribute is considered good or not.
default_value: ReeFloat
Default value of the attribute, if not provided by an item type.
Implementations
impl Attr
[src]
pub fn new(
id: ReeInt,
stackable: bool,
high_is_good: bool,
default_value: ReeFloat
) -> Attr
[src]
id: ReeInt,
stackable: bool,
high_is_good: bool,
default_value: ReeFloat
) -> Attr
Make a new dogma attribute out of passed data.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Attr
impl Send for Attr
impl Sync for Attr
impl Unpin for Attr
impl UnwindSafe for Attr
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,
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, 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.
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>,