#[repr(u8)]pub enum Event {
Psc0 = 0,
Psc1 = 1,
VBlank0 = 2,
VBlank1 = 3,
PPF = 4,
P3D = 5,
DMA = 6,
}
Expand description
GSPGPU events that can be awaited.
Variants§
Psc0 = 0
Memory fill 1 completed.
Psc1 = 1
Memory fill 2 completed.
VBlank0 = 2
Top screen VBlank.
VBlank1 = 3
Bottom screen VBlank.
PPF = 4
Display transfer completed.
P3D = 5
Command list processing completed.
DMA = 6
Direct Memory Access requested.
Trait Implementations§
source§impl From<Event> for GSPGPU_Event
impl From<Event> for GSPGPU_Event
impl Copy for Event
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more