pub struct StopSoundSpec {
pub source: Option<SoundCategory>,
pub sound: Option<String>,
}
Fields§
§source: Option<SoundCategory>
§sound: Option<String>
Trait Implementations§
Source§impl Clone for StopSoundSpec
impl Clone for StopSoundSpec
Source§fn clone(&self) -> StopSoundSpec
fn clone(&self) -> StopSoundSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StopSoundSpec
impl Debug for StopSoundSpec
Source§impl Deserialize for StopSoundSpec
impl Deserialize for StopSoundSpec
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<PlayStopSoundSpec> for StopSoundSpec
impl From<PlayStopSoundSpec> for StopSoundSpec
Source§fn from(other: PlayStopSoundSpec) -> Self
fn from(other: PlayStopSoundSpec) -> Self
Converts to this type from the input type.
Source§impl From<StopSoundSpec> for PlayStopSoundSpec
impl From<StopSoundSpec> for PlayStopSoundSpec
Source§fn from(other: StopSoundSpec) -> Self
fn from(other: StopSoundSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StopSoundSpec
impl PartialEq for StopSoundSpec
Source§impl Serialize for StopSoundSpec
impl Serialize for StopSoundSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for StopSoundSpec
Auto Trait Implementations§
impl Freeze for StopSoundSpec
impl RefUnwindSafe for StopSoundSpec
impl Send for StopSoundSpec
impl Sync for StopSoundSpec
impl Unpin for StopSoundSpec
impl UnwindSafe for StopSoundSpec
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