pub enum Event<'a> {
Background {
filename: Cow<'a, str>,
time: i32,
x: i32,
y: i32,
},
Video {
filename: Cow<'a, str>,
time: i32,
x: i32,
y: i32,
},
Break {
time: i32,
end_time: i32,
},
Colour {
time: i32,
colour: Colour,
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Event<'a>
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> Unpin for Event<'a>
impl<'a> UnwindSafe for Event<'a>
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