pub struct Me {
pub name: String,
pub volume: i32,
pub pitch: i32,
}
Fields§
§name: String
§volume: i32
§pitch: i32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Me
impl<'de> Deserialize<'de> for Me
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 Me
impl<'a> FromValue<'a> for Me
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 moreAuto Trait Implementations§
impl Freeze for Me
impl RefUnwindSafe for Me
impl Send for Me
impl Sync for Me
impl Unpin for Me
impl UnwindSafe for Me
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