pub struct Fireworks {
pub flight_duration: i32,
pub explosions: Vec<FireworkExplosion>,
}Fields§
§flight_duration: i32§explosions: Vec<FireworkExplosion>Implementations§
Trait Implementations§
Source§impl AzaleaRead for Fireworks
impl AzaleaRead for Fireworks
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl AzaleaWrite for Fireworks
impl AzaleaWrite for Fireworks
Source§impl DataComponentTrait for Fireworks
impl DataComponentTrait for Fireworks
const KIND: DataComponentKind = DataComponentKind::Fireworks
Source§impl DefaultableComponent for Fireworks
impl DefaultableComponent for Fireworks
fn default_for_item(item: Item) -> Option<Self>
Source§impl From<Fireworks> for DataComponentUnion
impl From<Fireworks> for DataComponentUnion
impl StructuralPartialEq for Fireworks
Auto Trait Implementations§
impl Freeze for Fireworks
impl RefUnwindSafe for Fireworks
impl Send for Fireworks
impl Sync for Fireworks
impl Unpin for Fireworks
impl UnwindSafe for Fireworks
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