Struct rpgmxp_types::class_learning::ClassLearning
source · pub struct ClassLearning {
pub level: i32,
pub skill_id: i32,
}
Fields§
§level: i32
§skill_id: i32
Trait Implementations§
source§impl Debug for ClassLearning
impl Debug for ClassLearning
source§impl<'de> Deserialize<'de> for ClassLearning
impl<'de> Deserialize<'de> for ClassLearning
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<'a> FromValue<'a> for ClassLearning
impl<'a> FromValue<'a> for ClassLearning
source§fn from_value(
ctx: &FromValueContext<'_>,
value: &'a Value,
) -> Result<Self, FromValueError>
fn from_value( ctx: &FromValueContext<'_>, value: &'a Value, ) -> Result<Self, FromValueError>
Create this type from the given value from the [
ValueArena
]. Read moresource§impl IntoValue for ClassLearning
impl IntoValue for ClassLearning
source§fn into_value(
self,
arena: &mut ValueArena,
) -> Result<ValueHandle, IntoValueError>
fn into_value( self, arena: &mut ValueArena, ) -> Result<ValueHandle, IntoValueError>
Turn this type into a Ruby Value.
Auto Trait Implementations§
impl Freeze for ClassLearning
impl RefUnwindSafe for ClassLearning
impl Send for ClassLearning
impl Sync for ClassLearning
impl Unpin for ClassLearning
impl UnwindSafe for ClassLearning
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