pub struct RotationPreset {
pub id: String,
pub label: String,
pub abilities: Vec<String>,
}Expand description
Saved ability rotation preset (plans/26 §C3).
Fields§
§id: String§label: String§abilities: Vec<String>Implementations§
Source§impl RotationPreset
impl RotationPreset
pub fn melee_default(ability_id: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for RotationPreset
impl Clone for RotationPreset
Source§fn clone(&self) -> RotationPreset
fn clone(&self) -> RotationPreset
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 moreSource§impl Debug for RotationPreset
impl Debug for RotationPreset
Source§impl<'de> Deserialize<'de> for RotationPreset
impl<'de> Deserialize<'de> for RotationPreset
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RotationPreset
impl PartialEq for RotationPreset
Source§impl Serialize for RotationPreset
impl Serialize for RotationPreset
impl StructuralPartialEq for RotationPreset
Auto Trait Implementations§
impl Freeze for RotationPreset
impl RefUnwindSafe for RotationPreset
impl Send for RotationPreset
impl Sync for RotationPreset
impl Unpin for RotationPreset
impl UnsafeUnpin for RotationPreset
impl UnwindSafe for RotationPreset
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