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