pub struct BreathSpec {
pub breath: u16,
}
Fields§
§breath: u16
Trait Implementations§
Source§impl Clone for BreathSpec
impl Clone for BreathSpec
Source§fn clone(&self) -> BreathSpec
fn clone(&self) -> BreathSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BreathSpec
impl Debug for BreathSpec
Source§impl Deserialize for BreathSpec
impl Deserialize for BreathSpec
Source§type Output = BreathSpec
type Output = BreathSpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<BreathSpec> for ToClientCommand
impl From<BreathSpec> for ToClientCommand
Source§fn from(value: BreathSpec) -> Self
fn from(value: BreathSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BreathSpec
impl PartialEq for BreathSpec
Source§impl Serialize for BreathSpec
impl Serialize for BreathSpec
type Input = BreathSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for BreathSpec
Auto Trait Implementations§
impl Freeze for BreathSpec
impl RefUnwindSafe for BreathSpec
impl Send for BreathSpec
impl Sync for BreathSpec
impl Unpin for BreathSpec
impl UnwindSafe for BreathSpec
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