pub struct NoiseEntry {
pub role: &'static str,
pub tiles: i64,
pub kinds: Vec<&'static str>,
}Expand description
One reach of a room’s same-floor noise.
Fields§
§role: &'static strcarries (the room makes noise these kinds hear) or hears (the
room hears noise these kinds make).
tiles: i64How many tiles past each of the room’s edges the noise counts, the tile beside the room being tile 0. A lobby tile or a gap in the floor stops it.
kinds: Vec<&'static str>The other side’s kinds, in catalog order.
Trait Implementations§
Source§impl Clone for NoiseEntry
impl Clone for NoiseEntry
Source§fn clone(&self) -> NoiseEntry
fn clone(&self) -> NoiseEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NoiseEntry
impl Debug for NoiseEntry
Source§impl PartialEq for NoiseEntry
impl PartialEq for NoiseEntry
Source§fn eq(&self, other: &NoiseEntry) -> bool
fn eq(&self, other: &NoiseEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NoiseEntry
impl Serialize for NoiseEntry
impl StructuralPartialEq for NoiseEntry
Auto Trait Implementations§
impl Freeze for NoiseEntry
impl RefUnwindSafe for NoiseEntry
impl Send for NoiseEntry
impl Sync for NoiseEntry
impl Unpin for NoiseEntry
impl UnsafeUnpin for NoiseEntry
impl UnwindSafe for NoiseEntry
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