pub struct GameFirewall {
pub ty: u8,
pub status: FirewallStatus,
pub pos: Position,
pub radius: f32,
pub speed: f32,
}Expand description
Update the “Wall of Fire” in BTR
Fields§
§ty: u8This field is not used for anything by the client.
status: FirewallStatus§pos: Position§radius: f32§speed: f32Trait Implementations§
Source§impl Clone for GameFirewall
impl Clone for GameFirewall
Source§fn clone(&self) -> GameFirewall
fn clone(&self) -> GameFirewall
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 GameFirewall
impl Debug for GameFirewall
Source§impl<'de> DeserializeV5<'de> for GameFirewall
impl<'de> DeserializeV5<'de> for GameFirewall
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl From<GameFirewall> for ServerPacket
impl From<GameFirewall> for ServerPacket
Source§fn from(v: GameFirewall) -> Self
fn from(v: GameFirewall) -> Self
Converts to this type from the input type.
Source§impl SerializeV5 for GameFirewall
impl SerializeV5 for GameFirewall
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for GameFirewall
Auto Trait Implementations§
impl Freeze for GameFirewall
impl RefUnwindSafe for GameFirewall
impl Send for GameFirewall
impl Sync for GameFirewall
impl Unpin for GameFirewall
impl UnwindSafe for GameFirewall
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