pub struct BuffInfo {
Show 13 fields pub buff_id: u32, pub time_left: Option<u32>, pub cancel_on_death: bool, pub cancel_on_zone: bool, pub cancel_on_damaged: bool, pub cancel_on_remove_buff: bool, pub cancel_on_ui: bool, pub cancel_on_logout: bool, pub cancel_on_unequip: bool, pub cancel_on_damage_absorb_ran_out: bool, pub added_by_teammate: Option<ObjId>, pub apply_on_teammates: bool, pub ref_count: i32,
}

Fields

buff_id: u32time_left: Option<u32>cancel_on_death: boolcancel_on_zone: boolcancel_on_damaged: boolcancel_on_remove_buff: boolcancel_on_ui: boolcancel_on_logout: boolcancel_on_unequip: boolcancel_on_damage_absorb_ran_out: booladded_by_teammate: Option<ObjId>apply_on_teammates: boolref_count: i32

Trait Implementations

Formats the value using the given formatter. Read more
Deserializes the type by reading from the reader.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serializes the type by writing to the writer.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.