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