pub enum FlatlandEvent {
OnNextFrameBegin {
values: OnNextFrameBeginValues,
},
OnFramePresented {
frame_presented_info: FramePresentedInfo,
},
OnError {
error: FlatlandError,
},
}
Variants§
OnNextFrameBegin
Fields
§
values: OnNextFrameBeginValues
OnFramePresented
Fields
§
frame_presented_info: FramePresentedInfo
OnError
Fields
§
error: FlatlandError
Implementations§
Source§impl FlatlandEvent
impl FlatlandEvent
pub fn into_on_next_frame_begin(self) -> Option<OnNextFrameBeginValues>
pub fn into_on_frame_presented(self) -> Option<FramePresentedInfo>
pub fn into_on_error(self) -> Option<FlatlandError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlatlandEvent
impl RefUnwindSafe for FlatlandEvent
impl Send for FlatlandEvent
impl Sync for FlatlandEvent
impl Unpin for FlatlandEvent
impl UnwindSafe for FlatlandEvent
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