Struct sf_api::gamestate::dungeons::Companions
source · pub struct Companions(pub [Companion; 3]);
Tuple Fields§
§0: [Companion; 3]
Implementations§
source§impl Companions
impl Companions
pub fn get(&self, class: CompanionClass) -> &Companion
Trait Implementations§
source§impl Clone for Companions
impl Clone for Companions
source§fn clone(&self) -> Companions
fn clone(&self) -> Companions
Returns a copy 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 moresource§impl Debug for Companions
impl Debug for Companions
source§impl Default for Companions
impl Default for Companions
source§fn default() -> Companions
fn default() -> Companions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Companions
impl<'de> Deserialize<'de> for Companions
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
Auto Trait Implementations§
impl RefUnwindSafe for Companions
impl Send for Companions
impl Sync for Companions
impl Unpin for Companions
impl UnwindSafe for Companions
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